QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#623093#5732. Even or OddKelivan1WA 15ms10708kbPython3224b2024-10-09 10:08:402024-10-09 10:08:42

Judging History

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

  • [2024-10-09 10:08:42]
  • 评测
  • 测评结果:WA
  • 用时:15ms
  • 内存:10708kb
  • [2024-10-09 10:08:40]
  • 提交

answer

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

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

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1

output:

Either

result:

ok single line: 'Either'

Test #2:

score: 0
Accepted
time: 15ms
memory: 10580kb

input:

2

output:

Odd

result:

ok single line: 'Odd'

Test #3:

score: 0
Accepted
time: 15ms
memory: 10588kb

input:

3

output:

Either

result:

ok single line: 'Either'

Test #4:

score: 0
Accepted
time: 9ms
memory: 10644kb

input:

4

output:

Even

result:

ok single line: 'Even'

Test #5:

score: 0
Accepted
time: 9ms
memory: 10616kb

input:

5

output:

Either

result:

ok single line: 'Either'

Test #6:

score: 0
Accepted
time: 15ms
memory: 10624kb

input:

6

output:

Odd

result:

ok single line: 'Odd'

Test #7:

score: 0
Accepted
time: 15ms
memory: 10708kb

input:

7

output:

Either

result:

ok single line: 'Either'

Test #8:

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

input:

8

output:

Even

result:

ok single line: 'Even'

Test #9:

score: 0
Accepted
time: 14ms
memory: 10604kb

input:

9

output:

Either

result:

ok single line: 'Either'

Test #10:

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

input:

10

output:

Either

result:

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