| Problem | lunchbox |
|---|---|
| User | ToiletBrIcker |
| Submission Time | 2024-06-18 11:25:42 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:12:7: error: ‘sort’ is not a member of ‘std’
12 | std::sort(arr, arr + sizeof(arr)/ sizeof(arr[0]));
| ^~~~
lunchbox.cpp:13:8: error: expected ‘(’ before ‘true’
13 | while true{
| ^~~~
| (
lunchbox.cpp:13:12: error: expected ‘)’ before ‘{’ token
13 | while true{
| ~~~~^
| )
lunchbox.cpp:19:30: error: expected primary-expression before ‘||’ token
19 | else if(trox == peeps - 1) ||(boxes == 0){
| ^~