CSES - Datatähti 2023 alku - Results
Submission details
Task:Kortit
Sender:Suhonen
Submission time:2022-11-01 11:42:10 +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

from time import time
start_time = time()

#input = int(input())
input = 0
if input <= 1:
    print("NO")
elif 2 <= input <= 26:
    print("MAYBE")
elif 27 <= input <= 52:
    print("YES")

time_taken = time() - start_time
print("Time taken: ", time_taken)

Test details

Test 1

Verdict:

input
0

correct output
NO

user output
NO
Time taken:  1.025199890136718...

Test 2

Verdict:

input
1

correct output
NO

user output
NO
Time taken:  1.001358032226562...

Test 3

Verdict:

input
2

correct output
MAYBE

user output
NO
Time taken:  1.33514404296875e...

Test 4

Verdict:

input
26

correct output
MAYBE

user output
NO
Time taken:  1.001358032226562...

Test 5

Verdict:

input
27

correct output
YES

user output
NO
Time taken:  9.775161743164062...

Test 6

Verdict:

input
52

correct output
YES

user output
NO
Time taken:  1.001358032226562...