boxes.cpp:12:16: warning: overflow in conversion from 'long int' to 'int' changes value from '1000000000000000000' to '-1486618624' [-Woverflow]
12 | const ll inf = 1000000000000000000;
| ^~~~~~~~~~~~~~~~~~~
boxes.cpp: In function 'long long int delivery(int, int, int, int*)':
boxes.cpp:17:9: error: 'i' was not declared in this scope
17 | for(i = 1; i <= n; i++){
| ^
boxes.cpp:21:9: error: 'i' was not declared in this scope
21 | for(i = n; i > 0; i--){
| ^
boxes.cpp:25:9: error: 'i' was not declared in this scope
25 | for(i = 0; i <= n; i++){
| ^