QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#623176#5732. Even or OddchalupaWA 0ms3688kbC++17228b2024-10-09 10:29:262024-10-09 10:29:27

Judging History

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

  • [2024-10-09 10:29:27]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3688kb
  • [2024-10-09 10:29:26]
  • 提交

answer

#include <iostream>
int main() {
  int N;
  std::cin >> N;

  if (N == 1) {
    std::cout << "Either\n";
    return 0;
  }
  if (N % 2 == 0) {
    std::cout << "Odd\n";
  } else {
    std::cout << "Even\n";
  }
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3636kb

input:

1

output:

Either

result:

ok single line: 'Either'

Test #2:

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

input:

2

output:

Odd

result:

ok single line: 'Odd'

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 3640kb

input:

3

output:

Even

result:

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