Problem | lunchbox |
---|---|
User | Yizhou |
Submission Time | 2024-06-03 17:11:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:10:17: error: expected ‘;’ before ‘int’
10 | sort(arr,arr+m)
| ^
| ;
11 | int sum=0;
| ~~~
lunchbox.cpp:13:8: error: ‘sum’ was not declared in this scope
13 | while(sum<n){
| ^~~