Problem | exam |
---|---|
User | claireau |
Submission Time | 2023-11-08 13:38:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:15:15: error: expected ‘;’ before ‘)’ token
15 | for (x = 2)
| ^
| ;
exam.cpp:19:5: error: expected primary-expression before ‘return’
19 | return 0;
| ^~~~~~
exam.cpp:17:4: error: expected ‘;’ before ‘return’
17 | }
| ^
| ;
18 |
19 | return 0;
| ~~~~~~
exam.cpp:19:5: error: expected primary-expression before ‘return’
19 | return 0;
| ^~~~~~
exam.cpp:17:4: error: expected ‘)’ before ‘return’
17 | }
| ^
| )
18 |
19 | return 0;
| ~~~~~~
exam.cpp:15:9: note: to match this ‘(’
15 | for (x = 2)
| ^