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

Compile Error

lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:14:39: error: expected ‘;’ before ‘for’
14 | sort(n, n + (sizeof(n),sizeof(n[0])))
| ^
| ;
15 | for(int i = 0;i < number; i++){
| ~~~
lunchbox.cpp:15:16: error: ‘i’ was not declared in this scope
15 | for(int i = 0;i < number; i++){
| ^