Problem | lunchbox |
---|---|
User | fanqie |
Submission Time | 2023-11-15 14:10:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:8:17: error: expected ‘;’ before ‘<’ token
8 | for (int x=0, x<m, x++){
| ^
| ;
lunchbox.cpp:8:17: error: expected primary-expression before ‘<’ token
lunchbox.cpp:8:24: error: expected ‘;’ before ‘)’ token
8 | for (int x=0, x<m, x++){
| ^
| ;
lunchbox.cpp:13:17: error: expected ‘;’ before ‘<’ token
13 | for (int x=0, x<m, x++){
| ^
| ;
lunchbox.cpp:13:17: error: expected primary-expression before ‘<’ token
lunchbox.cpp:13:24: error: expected ‘;’ before ‘)’ token
13 | for (int x=0, x<m, x++){
| ^
| ;
lunchbox.cpp:14:13: error: ‘i’ was not declared in this scope
14 | if(N>=arr[i]){
| ^