Problem | evenorodd |
---|---|
User | xiaotong |
Submission Time | 2023-11-08 10:53:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:5:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | cin >> n;
| ^
| yn
evenorodd.cpp: At global scope:
evenorodd.cpp:10:2: error: expected unqualified-id before ‘return’
10 | return 0;
| ^~~~~~
evenorodd.cpp:11:1: error: expected declaration before ‘}’ token
11 | }
| ^