QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#623091 | #5732. Even or Odd | yaffenator | WA | 10ms | 10616kb | Python3 | 321b | 2024-10-09 10:06:59 | 2024-10-09 10:07:00 |
Judging History
answer
import sys
input = sys.stdin.readline
def inp(): # For taking integer inputs.
return(int(input()))
def main():
input = inp()
sum = ""
if input % 2 == 0:
sum = "odd"
if input % 4 == 0:
sum = "even"
else:
sum = "either"
print(sum)
main()
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 10ms
memory: 10616kb
input:
1
output:
either
result:
wrong answer 1st lines differ - expected: 'Either', found: 'either'