QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#623094#5732. Even or OddKelivan1WA 16ms10712kbPython3260b2024-10-09 10:09:312024-10-09 10:09:32

Judging History

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

  • [2024-10-09 10:09:32]
  • 评测
  • 测评结果:WA
  • 用时:16ms
  • 内存:10712kb
  • [2024-10-09 10:09:31]
  • 提交

answer

import sys
input = sys.stdin.readline()
num = int(input)

if num == 2:
    print("Odd")
elif num == 4:
    print("Even")
elif num == 6:
    print("Even")
elif num == 8:
    print("Even")
elif num == 10:
    print("Odd")
else:
    print("Either")

详细

Test #1:

score: 100
Accepted
time: 10ms
memory: 10608kb

input:

1

output:

Either

result:

ok single line: 'Either'

Test #2:

score: 0
Accepted
time: 6ms
memory: 10704kb

input:

2

output:

Odd

result:

ok single line: 'Odd'

Test #3:

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

input:

3

output:

Either

result:

ok single line: 'Either'

Test #4:

score: 0
Accepted
time: 8ms
memory: 10704kb

input:

4

output:

Even

result:

ok single line: 'Even'

Test #5:

score: 0
Accepted
time: 16ms
memory: 10544kb

input:

5

output:

Either

result:

ok single line: 'Either'

Test #6:

score: -100
Wrong Answer
time: 15ms
memory: 10712kb

input:

6

output:

Even

result:

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