CSES - Datatähti 2023 alku - Results
Submission details
Task:Kortit
Sender:Niila
Submission time:2022-10-31 12:35:52 +0200
Language:Python3 (PyPy3)
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttime
#10.06 sdetails
#20.06 sdetails
#30.06 sdetails
#40.06 sdetails
#50.06 sdetails
#60.06 sdetails

Code

n = int(input())

if n > 1 and n < 27:
	print("MAYBE")
elif n > 26:
	print("YES")
elif n =< 1:
	print("NO")

Test details

Test 1

Verdict:

input
0

correct output
NO

user output
(empty)

Error:
File "input/code.py", line 8
    elif n =< 1:
           ^
SyntaxError: invalid syntax (...

Test 2

Verdict:

input
1

correct output
NO

user output
(empty)

Error:
File "input/code.py", line 8
    elif n =< 1:
           ^
SyntaxError: invalid syntax (...

Test 3

Verdict:

input
2

correct output
MAYBE

user output
(empty)

Error:
File "input/code.py", line 8
    elif n =< 1:
           ^
SyntaxError: invalid syntax (...

Test 4

Verdict:

input
26

correct output
MAYBE

user output
(empty)

Error:
File "input/code.py", line 8
    elif n =< 1:
           ^
SyntaxError: invalid syntax (...

Test 5

Verdict:

input
27

correct output
YES

user output
(empty)

Error:
File "input/code.py", line 8
    elif n =< 1:
           ^
SyntaxError: invalid syntax (...

Test 6

Verdict:

input
52

correct output
YES

user output
(empty)

Error:
File "input/code.py", line 8
    elif n =< 1:
           ^
SyntaxError: invalid syntax (...