CSES - Datatähti 2021 alku - Results
Submission details
Task:Sanalista
Sender:Konsta
Submission time:2020-10-04 16:10:18 +0300
Language:CPython3
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttime
#10.02 sdetails
#20.02 sdetails
#30.02 sdetails

Code

count = 0
kohta = 0
for x in Syöte:
    määrä = Syöte.count(x)
    if (määrä % 2) != 0:
        väärä = 1
if väärä == 1:
    pass
else:
    count += 1
print(count)

Test details

Test 1

Verdict:

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>
    for x in Sy\xf6te:
NameError: name 'Sy\xf6te' is not defined

Test 2

Verdict:

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>
    for x in Sy\xf6te:
NameError: name 'Sy\xf6te' is not defined

Test 3

Verdict:

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>
    for x in Sy\xf6te:
NameError: name 'Sy\xf6te' is not defined