| Task: | Sanalista |
| Sender: | jogr |
| Submission time: | 2021-10-06 14:02:07 +0300 |
| Language: | Python3 (CPython3) |
| Status: | READY |
| Result: | 0 |
| group | verdict | score |
|---|---|---|
| #1 | RUNTIME ERROR | 0 |
| test | verdict | time | |
|---|---|---|---|
| #1 | RUNTIME ERROR | 0.02 s | details |
| #2 | RUNTIME ERROR | 0.02 s | details |
| #3 | RUNTIME ERROR | 0.02 s | details |
Code
n=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
Test details
Test 1
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 korvata sopimusaika nuhatartunta korttiautomaatti ... |
| correct output |
|---|
| 15 |
| user output |
|---|
| (empty) |
Error:
File "input/code.py", line 8
words.append(input())
^
IndentationError: expec...Test 2
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 pub hansikaslokero erikoisvalmisteinen unijukka ... |
| correct output |
|---|
| 42 |
| user output |
|---|
| (empty) |
Error:
File "input/code.py", line 8
words.append(input())
^
IndentationError: expec...Test 3
Verdict: RUNTIME ERROR
| input |
|---|
| 1000 haapalastu toipumisaika mustalaiskieli taidelainaamo ... |
| correct output |
|---|
| 70 |
| user output |
|---|
| (empty) |
Error:
File "input/code.py", line 8
words.append(input())
^
IndentationError: expec...