QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#623027 | #5732. Even or Odd | Awesom3eric | WA | 12ms | 10696kb | Python3 | 113b | 2024-10-09 09:40:29 | 2024-10-09 09:40:30 |
Judging History
answer
n = int(input())
if n == 1:
print("Either")
elif n % 2 == 0:
print("Odd")
else:
print("Even")
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 10ms
memory: 10600kb
input:
1
output:
Either
result:
ok single line: 'Either'
Test #2:
score: 0
Accepted
time: 10ms
memory: 10692kb
input:
2
output:
Odd
result:
ok single line: 'Odd'
Test #3:
score: -100
Wrong Answer
time: 12ms
memory: 10696kb
input:
3
output:
Even
result:
wrong answer 1st lines differ - expected: 'Either', found: 'Even'