Problem 3nplus1
User Adam
Submission Time 2024-06-20 13:12:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:5: error: expected ‘;’ before ‘i’
7 | cin i;
| ^~
| ;
3nplus1.cpp:9:12: error: expected initializer before ‘%’ token
9 | if (int n%2==0){
| ^
3nplus1.cpp:9:12: error: expected ‘)’ before ‘%’ token
9 | if (int n%2==0){
| ~ ^
| )