CSES - Datatähti 2023 alku - Results
Submission details
Task:Kortit
Sender:Finnduino
Submission time:2022-10-31 17:37:19 +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

while(True):
    val = input()
    if(val.isnumeric()):
        val = int(val)
        if(val <= 26):
            if(val < 2):
                print("NO")
            else:
                print("MAYBE")
        else :
            print("YES")

Test details

Test 1

Verdict:

input
0

correct output
NO

user output
NO

Error:
Traceback (most recent call last):
  File "input/code.py", line 2, in <module>
    val = i...

Test 2

Verdict:

input
1

correct output
NO

user output
NO

Error:
Traceback (most recent call last):
  File "input/code.py", line 2, in <module>
    val = i...

Test 3

Verdict:

input
2

correct output
MAYBE

user output
MAYBE

Error:
Traceback (most recent call last):
  File "input/code.py", line 2, in <module>
    val = i...

Test 4

Verdict:

input
26

correct output
MAYBE

user output
MAYBE

Error:
Traceback (most recent call last):
  File "input/code.py", line 2, in <module>
    val = i...

Test 5

Verdict:

input
27

correct output
YES

user output
YES

Error:
Traceback (most recent call last):
  File "input/code.py", line 2, in <module>
    val = i...

Test 6

Verdict:

input
52

correct output
YES

user output
YES

Error:
Traceback (most recent call last):
  File "input/code.py", line 2, in <module>
    val = i...