| Task: | Sanalista |
| Sender: | Ileska |
| Submission time: | 2020-09-30 12:56:19 +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
sanat = []
sinä = 1
while (True):
sinä = input()
if (sinä == ""):
break
sanat.append(sinä)
a = 0
b = 0
print(len(sanat))
while (a<len(sanat)):
lista = []
for letter in sanat[a]:
lista.append(letter)
if (len(lista)%2):
a=a
else:
b = b + 1
a = a+1
print(b)
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 4, in <module>
sin\xe4...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 4, in <module>
sin\xe4...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 4, in <module>
sin\xe4...