Problem lunchbox
User noob41
Submission Time 2023-11-09 17:39:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int32_t main()’:
lunchbox.cpp:9:10: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
9 | int arr[m];
| ^
| tm
lunchbox.cpp:11:8: error: ‘arr’ was not declared in this scope
11 | cin>>arr[i];
| ^~~
lunchbox.cpp:13:7: error: ‘arr’ was not declared in this scope
13 | sort(arr,arr+schno);
| ^~~