CSES - Datatähti 2023 alku - Results
Submission details
Task:Kortit
Sender:THH
Submission time:2022-11-01 20:52:25 +0200
Language: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

while true:
    global a
    global n
    a = input()
    if a != None:
        if a != '':
            n = int(a)
            global n
            if n <= 3:
                print("NO")
            elif n >= 5:
                print("YES")
            else:
                print("MAYBE")
            if a != None:
                if a != '':
        break
    break

Test details

Test 1

Verdict:

input
0

correct output
NO

user output
(empty)

Error:
File "/box/input/code.py", line 17
    break
IndentationError: expected an indented bloc...

Test 2

Verdict:

input
1

correct output
NO

user output
(empty)

Error:
File "/box/input/code.py", line 17
    break
IndentationError: expected an indented bloc...

Test 3

Verdict:

input
2

correct output
MAYBE

user output
(empty)

Error:
File "/box/input/code.py", line 17
    break
IndentationError: expected an indented bloc...

Test 4

Verdict:

input
26

correct output
MAYBE

user output
(empty)

Error:
File "/box/input/code.py", line 17
    break
IndentationError: expected an indented bloc...

Test 5

Verdict:

input
27

correct output
YES

user output
(empty)

Error:
File "/box/input/code.py", line 17
    break
IndentationError: expected an indented bloc...

Test 6

Verdict:

input
52

correct output
YES

user output
(empty)

Error:
File "/box/input/code.py", line 17
    break
IndentationError: expected an indented bloc...