Problem | lunchbox |
---|---|
User | Akshar |
Submission Time | 2024-06-20 14:33:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:20:7: error: ‘arr’ was not declared in this scope
20 | sort(arr,arr+m);
| ^~~
lunchbox.cpp:21:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
21 | for (int i=0;i<k;i++){
| ^
lunchbox.cpp:27:2: error: expected ‘}’ at end of input
27 | }
| ^
lunchbox.cpp:12:11: note: to match this ‘{’
12 | int main(){
| ^