Problem evenorodd
User AliLam
Submission Time 2025-06-16 16:33:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:11:10: error: expected initializer before ‘==’ token
11 | int ans == a%2;
| ^~
evenorodd.cpp:13:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
13 | if (ans = 0) {
| ^~~
| abs