Problem | lunchbox |
---|---|
User | ForsakenPBJ |
Submission Time | 2024-04-01 11:47:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:12:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
12 | sort(list , list + m);
| ^~~~
| qsort
lunchbox.cpp:17:3: error: ‘x’ was not declared in this scope
17 | x++
| ^
lunchbox.cpp:19:10: error: ‘total’ was not declared in this scope
19 | cout << total;
| ^~~~~