QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#623036#5732. Even or OddAwesom3ericWA 15ms10740kbPython3216b2024-10-09 09:44:072024-10-09 09:44:08

Judging History

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

  • [2024-10-09 09:44:08]
  • 评测
  • 测评结果:WA
  • 用时:15ms
  • 内存:10740kb
  • [2024-10-09 09:44:07]
  • 提交

answer

# 1 = either
# 2 = odd
# 3 = Either
# 4 = even
# 5 = Either

n = int(input())

if n == 1:
    print("Either")
elif n == 2: 
    print("Odd")
elif n % 2 == 0:
    print("Even")
else:
    print("Either")

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 6ms
memory: 10740kb

input:

1

output:

Either

result:

ok single line: 'Either'

Test #2:

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

input:

2

output:

Odd

result:

ok single line: 'Odd'

Test #3:

score: 0
Accepted
time: 5ms
memory: 10716kb

input:

3

output:

Either

result:

ok single line: 'Either'

Test #4:

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

input:

4

output:

Even

result:

ok single line: 'Even'

Test #5:

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

input:

5

output:

Either

result:

ok single line: 'Either'

Test #6:

score: -100
Wrong Answer
time: 7ms
memory: 10700kb

input:

6

output:

Even

result:

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