Task: | Sanalista |
Sender: | Ileska |
Submission time: | 2020-09-30 12:31:19 +0300 |
Language: | Python3 (CPython3) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
test | verdict | time | |
---|---|---|---|
#1 | WRONG ANSWER | 0.02 s | details |
#2 | WRONG ANSWER | 0.02 s | details |
#3 | WRONG ANSWER | 0.02 s | details |
Code
sanat = input() lista = sanat.split(" ") a = 0 b = 0 print(lista) """ F = open("workfile.txt","r") print(F) """ while(a < len(lista)): Sanat = [] for letter in lista[a]: Sanat.append(letter) if (len(Sanat)%2): a=a else: b = b + 1 a = a+1 print(b)
Test details
Test 1
Verdict: WRONG ANSWER
input |
---|
1000 korvata sopimusaika nuhatartunta korttiautomaatti ... |
correct output |
---|
15 |
user output |
---|
['1000'] 1 |
Test 2
Verdict: WRONG ANSWER
input |
---|
1000 pub hansikaslokero erikoisvalmisteinen unijukka ... |
correct output |
---|
42 |
user output |
---|
['1000'] 1 |
Test 3
Verdict: WRONG ANSWER
input |
---|
1000 haapalastu toipumisaika mustalaiskieli taidelainaamo ... |
correct output |
---|
70 |
user output |
---|
['1000'] 1 |