QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#623189 | #5732. Even or Odd | chalupa | WA | 0ms | 3632kb | C++17 | 164b | 2024-10-09 10:31:27 | 2024-10-09 10:31:29 |
Judging History
answer
#include <iostream>
int main() {
int N;
std::cin >> N;
if (N % 2 == 1) {
std::cout << "Either\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: 3632kb
input:
1
output:
Either
result:
ok single line: 'Either'
Test #2:
score: -100
Wrong Answer
time: 0ms
memory: 3560kb
input:
2
output:
Even
result:
wrong answer 1st lines differ - expected: 'Odd', found: 'Even'