Problem 3nplus1
User whvun
Submission Time 2023-02-16 17:08:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:12: error: expected ‘;’ before ‘>’ token
6 | for (int i > 1;) {
| ^~
| ;
3nplus1.cpp:6:13: error: expected primary-expression before ‘>’ token
6 | for (int i > 1;) {
| ^
3nplus1.cpp:11:13: error: lvalue required as left operand of assignment
11 | 3 * a += 1;
| ^
3nplus1.cpp: At global scope:
3nplus1.cpp:15:3: error: expected unqualified-id before ‘return’
15 | } return 0;
| ^~~~~~