QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#623091#5732. Even or OddyaffenatorWA 10ms10616kbPython3321b2024-10-09 10:06:592024-10-09 10:07:00

Judging History

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

  • [2024-10-09 10:07:00]
  • 评测
  • 测评结果:WA
  • 用时:10ms
  • 内存:10616kb
  • [2024-10-09 10:06:59]
  • 提交

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'