Problem lunchbox
User neogaoen2007
Submission Time 2023-12-06 16:57:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:12:20: error: expected ‘;’ before ‘for’
12 | sort(arr, arr + m) //, greater<int>());
| ^
| ;
13 | for (int i = 0;i<m;i++){
| ~~~
lunchbox.cpp:13:17: error: ‘i’ was not declared in this scope
13 | for (int i = 0;i<m;i++){
| ^