Problem 3nplus1
User Water
Submission Time 2023-06-26 10:21:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:11: error: expected ‘;’ before ‘)’ token
9 | for (n!=1) {
| ^
| ;
3nplus1.cpp:19:1: error: expected primary-expression before ‘}’ token
19 | }
| ^
3nplus1.cpp:18:3: error: expected ‘;’ before ‘}’ token
18 | }
| ^
| ;
19 | }
| ~
3nplus1.cpp:19:1: error: expected primary-expression before ‘}’ token
19 | }
| ^
3nplus1.cpp:18:3: error: expected ‘)’ before ‘}’ token
18 | }
| ^
| )
19 | }
| ~
3nplus1.cpp:9:6: note: to match this ‘(’
9 | for (n!=1) {
| ^
3nplus1.cpp:19:1: error: expected primary-expression before ‘}’ token
19 | }
| ^