Task: | Kortit |
Sender: | THH |
Submission time: | 2022-11-01 13:58:37 +0200 |
Language: | Python3 (PyPy3) |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | RUNTIME ERROR | 0 |
test | verdict | time | |
---|---|---|---|
#1 | RUNTIME ERROR | 0.06 s | details |
#2 | RUNTIME ERROR | 0.06 s | details |
#3 | RUNTIME ERROR | 0.06 s | details |
#4 | RUNTIME ERROR | 0.06 s | details |
#5 | RUNTIME ERROR | 0.06 s | details |
#6 | RUNTIME ERROR | 0.06 s | details |
Code
def ask(): global a global n a = input() n = int(a) laske() def laske(): global n if n <= 3: print("NO") elif n >= 5: print("YES") else: print("MAYBE") a = 0 n = 0 ask() ask()
Test details
Test 1
Verdict: RUNTIME ERROR
input |
---|
0 |
correct output |
---|
NO |
user output |
---|
NO |
Error:
Traceback (most recent call last): File "input/code.py", line 20, in <module> ask()...
Test 2
Verdict: RUNTIME ERROR
input |
---|
1 |
correct output |
---|
NO |
user output |
---|
NO |
Error:
Traceback (most recent call last): File "input/code.py", line 20, in <module> ask()...
Test 3
Verdict: RUNTIME ERROR
input |
---|
2 |
correct output |
---|
MAYBE |
user output |
---|
NO |
Error:
Traceback (most recent call last): File "input/code.py", line 20, in <module> ask()...
Test 4
Verdict: RUNTIME ERROR
input |
---|
26 |
correct output |
---|
MAYBE |
user output |
---|
YES |
Error:
Traceback (most recent call last): File "input/code.py", line 20, in <module> ask()...
Test 5
Verdict: RUNTIME ERROR
input |
---|
27 |
correct output |
---|
YES |
user output |
---|
YES |
Error:
Traceback (most recent call last): File "input/code.py", line 20, in <module> ask()...
Test 6
Verdict: RUNTIME ERROR
input |
---|
52 |
correct output |
---|
YES |
user output |
---|
YES |
Error:
Traceback (most recent call last): File "input/code.py", line 20, in <module> ask()...