Problem | lostarray |
---|---|
User | Suki |
Submission Time | 2024-02-14 08:53:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lostarray.cpp: In function ‘int main()’:
lostarray.cpp:13:6: error: expected ‘(’ before ‘int’
13 | for int (i=0, i > M, i++) {
| ^~~
| (
lostarray.cpp:13:11: error: ‘i’ was not declared in this scope
13 | for int (i=0, i > M, i++) {
| ^
lostarray.cpp:13:26: error: expression list treated as compound expression in functional cast [-fpermissive]
13 | for int (i=0, i > M, i++) {
| ^
lostarray.cpp:25:2: error: expected primary-expression before ‘for’
25 | for int (i=0, i++, i < N) {
| ^~~
lostarray.cpp:24:3: error: expected ‘;’ before ‘for’
24 | }
| ^
| ;
25 | for int (i=0, i++, i < N) {
| ~~~
lostarray.cpp:25:2: error: expected primary-expression before ‘for’
25 | for int (i=0, i++, i < N) {
| ^~~
lostarray.cpp:24:3: error: expected ‘)’ before ‘for’
24 | }