CSES - Datatähti 2023 alku - Results
Submission details
Task:Kortit
Sender:Kwu22
Submission time:2022-11-05 22:07:23 +0200
Language:Python3 (PyPy3)
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttime
#10.04 sdetails
#20.04 sdetails
#30.04 sdetails
#40.04 sdetails
#50.04 sdetails
#60.04 sdetails

Code

n = int(input("A number from 0 to 52"))
if n <= 1 and n >= 0:
    print("NO")
elif n >= 2 and n <= 26:
    print("MAYBE")
else : 
    print("YES")

Test details

Test 1

Verdict:

input
0

correct output
NO

user output
A number from 0 to 52NO

Test 2

Verdict:

input
1

correct output
NO

user output
A number from 0 to 52NO

Test 3

Verdict:

input
2

correct output
MAYBE

user output
A number from 0 to 52MAYBE

Test 4

Verdict:

input
26

correct output
MAYBE

user output
A number from 0 to 52MAYBE

Test 5

Verdict:

input
27

correct output
YES

user output
A number from 0 to 52YES

Test 6

Verdict:

input
52

correct output
YES

user output
A number from 0 to 52YES