Problem lunchbox
User senkyte
Submission Time 2024-02-14 08:25:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:13:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
13 | sort(n, n + (sizeof(n),sizeof(n[0])))
| ^~~~
| qsort
lunchbox.cpp:14:16: error: ‘i’ was not declared in this scope
14 | for(int i = 0;i < number; i++){
| ^