Problem lunchbox
User jiayun
Submission Time 2024-08-05 14:23:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp:1:10: error: ‘m’ was not declared in this scope
1 | int arr [m];
| ^
lunchbox.cpp:3:1: error: expected unqualified-id before ‘for’
3 | for (int x=0; x<m; x++){
| ^~~
lunchbox.cpp:3:15: error: ‘x’ does not name a type
3 | for (int x=0; x<m; x++){
| ^
lunchbox.cpp:3:20: error: ‘x’ does not name a type
3 | for (int x=0; x<m; x++){
| ^