Problem | lunchbox |
---|---|
User | claireau |
Submission Time | 2023-11-09 10:22:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:9:4: error: expected ‘;’ before ‘array’
9 | cin array[m];
| ^~~~~~
| ;
lunchbox.cpp:10:10: error: expected ‘;’ before ‘)’ token
10 | for (m<=N) {cout << m}
| ^
| ;
lunchbox.cpp:12:5: error: expected primary-expression before ‘return’
12 | return 0;
| ^~~~~~
lunchbox.cpp:10:23: error: expected ‘;’ before ‘return’
10 | for (m<=N) {cout << m}
| ^
| ;
11 |
12 | return 0;
| ~~~~~~
lunchbox.cpp:12:5: error: expected primary-expression before ‘return’
12 | return 0;
| ^~~~~~
lunchbox.cpp:10:23: error: expected ‘)’ before ‘return’
10 | for (m<=N) {cout << m}
| ~ ^
| )
11 |
12 | return 0;