CSES - Datatähti 2023 alku - Results
Submission details
Task:Kortit
Sender:Redapo
Submission time:2022-10-31 15:34:43 +0200
Language:Python3 (CPython3)
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttime
#10.02 sdetails
#20.02 sdetails
#30.02 sdetails
#40.02 sdetails
#50.02 sdetails
#60.02 sdetails

Code

n = int(input())
print(n)
if n < 0 or n > 52:
    raise ValueError          
elif n > 26 and n <=52:
    print("YES")
elif n <= 26 and n > 1:
    print("MAYBE")
elif n == 1 or n == 0:
    print("NO")

Test details

Test 1

Verdict:

input
0

correct output
NO

user output
0
NO

Test 2

Verdict:

input
1

correct output
NO

user output
1
NO

Test 3

Verdict:

input
2

correct output
MAYBE

user output
2
MAYBE

Test 4

Verdict:

input
26

correct output
MAYBE

user output
26
MAYBE

Test 5

Verdict:

input
27

correct output
YES

user output
27
YES

Test 6

Verdict:

input
52

correct output
YES

user output
52
YES