| Task: | Sanalista |
| Sender: | Leevi.Antila |
| Submission time: | 2020-10-06 08:55:54 +0300 |
| Language: | Python3 (PyPy3) |
| Status: | READY |
| Result: | 0 |
| group | verdict | score |
|---|---|---|
| #1 | RUNTIME ERROR | 0 |
| test | verdict | time | |
|---|---|---|---|
| #1 | RUNTIME ERROR | 0.08 s | details |
| #2 | RUNTIME ERROR | 0.07 s | details |
| #3 | RUNTIME ERROR | 0.07 s | details |
Code
sanaMäärä = input("Anna sanojen määrä:")
parillisetSanat = 0
toistoKerrat = int(sanaMäärä)
while toistoKerrat != 0 and toistoKerrat > -1:
sana = input("Anna sana:")
kirjainMäärä = len(sana)
if kirjainMäärä%2 == 0:
parillisetSanat = parillisetSanat+1
toistoKerrat = toistoKerrat-1
print(parillisetSanat)
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 1, in <module>
sanaM\x...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 1, in <module>
sanaM\x...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 1, in <module>
sanaM\x...