Problem | lunchbox |
---|---|
User | NotTYR |
Submission Time | 2023-02-08 21:43:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:14:13: error: request for member ‘begin’ in ‘array’, which is of non-class type ‘int [c]’
14 | sort(array.begin(),array.end());
| ^~~~~
lunchbox.cpp:14:27: error: request for member ‘end’ in ‘array’, which is of non-class type ‘int [c]’
14 | sort(array.begin(),array.end());
| ^~~
lunchbox.cpp:14:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
14 | sort(array.begin(),array.end());
| ^~~~
| qsort
lunchbox.cpp:16:8: error: ‘m’ was not declared in this scope
16 | while(m>=c){
| ^