Problem evenorodd
User LXYSGP
Submission Time 2024-07-13 16:49:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp:4:1: error: ‘cin’ does not name a type
4 | cin >> a;
| ^~~
evenorodd.cpp:5:1: error: expected unqualified-id before ‘if’
5 | if (a % 2 == 0) {
| ^~
evenorodd.cpp:7:2: error: expected unqualified-id before ‘else’
7 | }else{
| ^~~~