| Problem | lunchbox |
|---|---|
| User | ToiletBrIcker |
| Submission Time | 2024-06-18 13:31:23 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘void hugh(int*, int, int, int)’:
lunchbox.cpp:3:10: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
3 | return num;
| ^~~
lunchbox.cpp:7:19: error: expected primary-expression before ‘]’ token
7 | return hugh(arr[], boxes -= arr[peopel_num],peopel_num,num++);
| ^
lunchbox.cpp:7:63: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
7 | return hugh(arr[], boxes -= arr[peopel_num],peopel_num,num++);
| ^
lunchbox.cpp:9:10: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
9 | return num;
| ^~~