Problem | smurf |
---|---|
User | justin271828 |
Submission Time | 2023-06-09 11:39:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
smurf.cpp: In function ‘int main()’:
smurf.cpp:8:2: error: expected initializer before ‘for’
8 | for (int i = 0; i < N; i++) {
| ^~~
smurf.cpp:8:18: error: ‘i’ was not declared in this scope
8 | for (int i = 0; i < N; i++) {
| ^
smurf.cpp:12:12: error: expected ‘;’ before ‘==’ token
12 | for (int i == 0; i < N; i++) {
| ^~~
| ;
smurf.cpp:12:13: error: expected primary-expression before ‘==’ token
12 | for (int i == 0; i < N; i++) {
| ^~
smurf.cpp:12:24: error: expected ‘)’ before ‘;’ token
12 | for (int i == 0; i < N; i++) {
| ~ ^
| )
smurf.cpp:21:13: error: expected ‘;’ before ‘==’ token
21 | for (int i == 0; i < N; i++) {
| ^~~
| ;
smurf.cpp:21:14: error: expected primary-expression before ‘==’ token