Problem evenorodd
User ShaquilleOatmeal34
Submission Time 2026-10-12 12:58:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:8:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
8 | if (n % 2 > 0) {
| ^
| yn
evenorodd.cpp:12:1: error: expected ‘}’ at end of input
12 | }
| ^
evenorodd.cpp:5:15: note: to match this ‘{’
5 | signed main() {
| ^