Problem | lunchbox |
---|---|
User | fanqie |
Submission Time | 2023-11-15 13:35:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int32_t main()’:
lunchbox.cpp:13:20: error: expected ‘;’ before ‘)’ token
13 | for (i=0, i<m, i++){
| ^
| ;
lunchbox.cpp:17:10: error: expected ‘)’ before ‘;’ token
17 | cin >> t;
| ^
| )
lunchbox.cpp:13:6: note: to match this ‘(’
13 | for (i=0, i<m, i++){
| ^
lunchbox.cpp:18:7: error: ‘t’ was not declared in this scope
18 | for (t=0, t<N, t++){
| ^
lunchbox.cpp:22:2: error: expected primary-expression before ‘return’
22 | return 0;
| ^~~~~~
lunchbox.cpp:21:12: error: expected ‘)’ before ‘return’
21 | cout << i;
| ^
| )
22 | return 0;
| ~~~~~~
lunchbox.cpp:18:6: note: to match this ‘(’
18 | for (t=0, t<N, t++){
| ^