Problem evenorodd
User rasquait
Submission Time 2025-12-02 13:40:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:10:10: error: expected ‘;’ before ‘string’
10 | cin >> x
| ^
| ;
11 | string out = "Even";
| ~~~~~~
evenorodd.cpp:12:13: error: ‘out’ was not declared in this scope
12 | if (x>>=1) out = "Odd";
| ^~~
evenorodd.cpp:14:10: error: ‘out’ was not declared in this scope
14 | cout << out;
| ^~~