Problem 3nplus1
User blob
Submission Time 2023-11-10 09:42:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:22: error: expected ‘;’ before ‘)’ token
6 | for (i=0, i < n, i++) {
| ^
| ;
3nplus1.cpp:14:1: error: expected primary-expression before ‘}’ token
14 | }
| ^
3nplus1.cpp:13:3: error: expected ‘;’ before ‘}’ token
13 | }
| ^
| ;
14 | }
| ~
3nplus1.cpp:14:1: error: expected primary-expression before ‘}’ token
14 | }
| ^
3nplus1.cpp:13:3: error: expected ‘)’ before ‘}’ token
13 | }
| ^
| )
14 | }
| ~
3nplus1.cpp:6:6: note: to match this ‘(’
6 | for (i=0, i < n, i++) {
| ^
3nplus1.cpp:14:1: error: expected primary-expression before ‘}’ token
14 | }
| ^