Problem | lunchbox |
---|---|
User | ovuvuevuevueenyetuewuevue |
Submission Time | 2025-01-25 12:32:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:10:16: error: request for member ‘begin’ in ‘requests’, which is of non-class type ‘int [m]’
10 | sort(requests.begin(),requests.end());
| ^~~~~
lunchbox.cpp:10:33: error: request for member ‘end’ in ‘requests’, which is of non-class type ‘int [m]’
10 | sort(requests.begin(),requests.end());
| ^~~
lunchbox.cpp:23:1: error: expected ‘}’ at end of input
23 | }
| ^
lunchbox.cpp:14:26: note: to match this ‘{’
14 | for (int i =0; i<m; ++i){
| ^
lunchbox.cpp:23:1: error: expected ‘}’ at end of input
23 | }
| ^
lunchbox.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^