Problem | lunchbox |
---|---|
User | Akshar |
Submission Time | 2024-06-20 14:32:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:17:2: error: expected initializer before ‘for’
17 | for(int i=0;i<m;i++){
| ^~~
lunchbox.cpp:17:14: error: ‘i’ was not declared in this scope
17 | for(int i=0;i<m;i++){
| ^
lunchbox.cpp:20:7: error: ‘arr’ was not declared in this scope
20 | sort(arr,arr+m);
| ^~~
lunchbox.cpp:21:17: error: ‘k’ was not declared in this scope
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(){
| ^