Problem | smurf |
---|---|
User | innerspace777 |
Submission Time | 2024-06-11 12:37:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
smurf.cpp: In function ‘int32_t main()’:
smurf.cpp:30:9: error: found ‘:’ in nested-name-specifier, expected ‘::’
30 | for (i : a) {
| ^
| ::
smurf.cpp:30:7: error: ‘i’ has not been declared
30 | for (i : a) {
| ^
smurf.cpp:33:1: error: expected primary-expression before ‘}’ token
33 | }
| ^
smurf.cpp:32:3: error: expected ‘;’ before ‘}’ token
32 | }
| ^
| ;
33 | }
| ~
smurf.cpp:33:1: error: expected primary-expression before ‘}’ token
33 | }
| ^
smurf.cpp:32:3: error: expected ‘)’ before ‘}’ token
32 | }
| ^
| )
33 | }
| ~
smurf.cpp:30:6: note: to match this ‘(’
30 | for (i : a) {
| ^
smurf.cpp:33:1: error: expected primary-expression before ‘}’ token
33 | }
| ^