# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
37463 |
2017-12-25T15:16:39 Z |
IvanC |
Lozinke (COCI17_lozinke) |
Python 2 |
|
1000 ms |
3 KB |
senhas = []
resposta = 0
n = int(raw_input())
for i in xrange(n):
davez = raw_input()
for palavra in senhas:
if palavra in davez:
resposta += 1
if davez in palavra:
resposta += 1
senhas.append(davez)
print resposta
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
14 ms |
2 KB |
Output is correct |
2 |
Correct |
14 ms |
2 KB |
Output is correct |
3 |
Correct |
15 ms |
2 KB |
Output is correct |
4 |
Correct |
36 ms |
2 KB |
Output is correct |
5 |
Correct |
104 ms |
2 KB |
Output is correct |
6 |
Correct |
215 ms |
2 KB |
Output is correct |
7 |
Correct |
369 ms |
3 KB |
Output is correct |
8 |
Correct |
378 ms |
3 KB |
Output is correct |
9 |
Execution timed out |
1062 ms |
3 KB |
Time limit exceeded |
10 |
Execution timed out |
1050 ms |
3 KB |
Time limit exceeded |
11 |
Execution timed out |
1062 ms |
3 KB |
Time limit exceeded |
12 |
Execution timed out |
1051 ms |
3 KB |
Time limit exceeded |
13 |
Execution timed out |
1057 ms |
3 KB |
Time limit exceeded |
14 |
Execution timed out |
1069 ms |
3 KB |
Time limit exceeded |
15 |
Execution timed out |
1065 ms |
3 KB |
Time limit exceeded |
16 |
Execution timed out |
1045 ms |
3 KB |
Time limit exceeded |
17 |
Execution timed out |
1056 ms |
3 KB |
Time limit exceeded |
18 |
Execution timed out |
1061 ms |
3 KB |
Time limit exceeded |
19 |
Execution timed out |
1061 ms |
3 KB |
Time limit exceeded |
20 |
Execution timed out |
1061 ms |
3 KB |
Time limit exceeded |