CSES - Datatähti 2023 alku - Results
Submission details
Task:Kortit
Sender:MikaelE
Submission time:2022-11-08 15:09:31 +0200
Language:Python3 (CPython3)
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttime
#1ACCEPTED0.02 sdetails
#2ACCEPTED0.02 sdetails
#30.02 sdetails
#40.02 sdetails
#50.02 sdetails
#60.02 sdetails

Code

n = 0
try:
    int(input())
except:
    pass

if(n <= 1):
    print("NO")
elif n <= 26:
    print("MAYBE")
else:
    print("YES")

Test details

Test 1

Verdict: ACCEPTED

input
0

correct output
NO

user output
NO

Test 2

Verdict: ACCEPTED

input
1

correct output
NO

user output
NO

Test 3

Verdict:

input
2

correct output
MAYBE

user output
NO

Test 4

Verdict:

input
26

correct output
MAYBE

user output
NO

Test 5

Verdict:

input
27

correct output
YES

user output
NO

Test 6

Verdict:

input
52

correct output
YES

user output
NO