Task: | Sanalista |
Sender: | jogr |
Submission time: | 2021-10-06 14:03:15 +0300 |
Language: | Python3 (CPython3) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | RUNTIME ERROR | 0 |
test | verdict | time | |
---|---|---|---|
#1 | RUNTIME ERROR | 0.03 s | details |
#2 | RUNTIME ERROR | 0.03 s | details |
#3 | RUNTIME ERROR | 0.03 s | details |
Code
n=int(input()) def is_even(n): return m%2==0 words=list() for i in range(0, n): words.append(input()) sum_out=0 for word in words: chars = dict() has_even = True for char in word: if not char in chars.keys(): chars[char] = 0 chars[char] += 1 for item in chars.items(): if not is_even(item[1]): has_even = False break if has_even: sum_out += 1 print(sum_out)
Test details
Test 1
Verdict: RUNTIME ERROR
input |
---|
1000 korvata sopimusaika nuhatartunta korttiautomaatti ... |
correct output |
---|
15 |
user output |
---|
(empty) |
Error:
Traceback (most recent call last): File "input/code.py", line 20, in <module> if not...
Test 2
Verdict: RUNTIME ERROR
input |
---|
1000 pub hansikaslokero erikoisvalmisteinen unijukka ... |
correct output |
---|
42 |
user output |
---|
(empty) |
Error:
Traceback (most recent call last): File "input/code.py", line 20, in <module> if not...
Test 3
Verdict: RUNTIME ERROR
input |
---|
1000 haapalastu toipumisaika mustalaiskieli taidelainaamo ... |
correct output |
---|
70 |
user output |
---|
(empty) |
Error:
Traceback (most recent call last): File "input/code.py", line 20, in <module> if not...