QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#623012#5732. Even or OddlarsotazWA 16ms10704kbPython3214b2024-10-09 09:34:272024-10-09 09:34:28

Judging History

你现在查看的是最新测评结果

  • [2024-10-09 09:34:28]
  • 评测
  • 测评结果:WA
  • 用时:16ms
  • 内存:10704kb
  • [2024-10-09 09:34:27]
  • 提交

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")

详细

Test #1:

score: 100
Accepted
time: 11ms
memory: 10704kb

input:

1

output:

Either

result:

ok single line: 'Either'

Test #2:

score: 0
Accepted
time: 12ms
memory: 10576kb

input:

2

output:

Odd

result:

ok single line: 'Odd'

Test #3:

score: 0
Accepted
time: 0ms
memory: 10576kb

input:

3

output:

Either

result:

ok single line: 'Either'

Test #4:

score: 0
Accepted
time: 12ms
memory: 10700kb

input:

4

output:

Even

result:

ok single line: 'Even'

Test #5:

score: 0
Accepted
time: 7ms
memory: 10700kb

input:

5

output:

Either

result:

ok single line: 'Either'

Test #6:

score: -100
Wrong Answer
time: 16ms
memory: 10480kb

input:

6

output:

Even

result:

wrong answer 1st lines differ - expected: 'Odd', found: 'Even'