Problem bombardirocrocodilo
User ShaquilleOatmeal34
Submission Time 2025-05-21 15:33:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bombardirocrocodilo.cpp: In function ‘int main()’:
bombardirocrocodilo.cpp:10:6: error: expected ‘(’ before ‘n’
10 | if n 2 % != 0;
| ^
| (
bombardirocrocodilo.cpp:11:14: error: expected ‘;’ before ‘else’
11 | cout << "1"
| ^
| ;
12 | else if f 2 % != 0;
| ~~~~
bombardirocrocodilo.cpp:14:3: error: ‘else’ without a previous ‘if’
14 | else x 2 % != 0;
| ^~~~
bombardirocrocodilo.cpp:14:9: error: expected ‘;’ before numeric constant
14 | else x 2 % != 0;
| ^~
| ;