Task: | Sanalista |
Sender: | Totska |
Submission time: | 2021-09-15 17:32:36 +0300 |
Language: | Python3 (PyPy3) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | RUNTIME ERROR | 0 |
test | verdict | time | |
---|---|---|---|
#1 | RUNTIME ERROR | 0.09 s | details |
#2 | RUNTIME ERROR | 0.08 s | details |
#3 | RUNTIME ERROR | 0.09 s | details |
Code
n = int(input())sanat = {input() for i in range(n+1)}# print(sanat)let = {}for i in range(97, 123):let[chr(i)] = 0result = 0for word in sanat:l = let.copy()fail = Falsefor ch in word:l[ch] += 1for key in l:if l[key] % 2 != 0:fail = Truebreakif fail:continueelse:result += 1print(result)
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 3, in <module> sanat =...
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 3, in <module> sanat =...
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 3, in <module> sanat =...