QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#623007 | #5732. Even or Odd | larsotaz | WA | 13ms | 10588kb | Python3 | 214b | 2024-10-09 09:32:30 | 2024-10-09 09:32:32 |
Judging History
answer
def inp(): # For taking integer inputs.
return(int(input()))
i = inp()
if i == 1:
print("EITHER")
elif i == 2:
print("ODD")
elif i % 2 == 0:
print("EVEN")
else:
print("EITHER")
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 13ms
memory: 10588kb
input:
1
output:
EITHER
result:
wrong answer 1st lines differ - expected: 'Either', found: 'EITHER'