Problem lunchbox
User ensonchew
Submission Time 2025-05-25 13:56:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:17:18: error: expected ‘;’ before ‘for’
17 | sort(k, k+60005)
| ^
| ;
18 | for(int x = 0; N >= k[x]; x++){
| ~~~
lunchbox.cpp:18:24: error: ‘x’ was not declared in this scope
18 | for(int x = 0; N >= k[x]; x++){
| ^