boxes.cpp: In function 'long long int delivery(int, int, int, int*)':
boxes.cpp:5:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define rep(i,a,b) for (int i = (a); i <= (b); i++)
| ^
boxes.cpp:31:5: note: in expansion of macro 'rep'
31 | rep(i, 0, izq.size() - 1){
| ^~~
boxes.cpp:5:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define rep(i,a,b) for (int i = (a); i <= (b); i++)
| ^
boxes.cpp:38:5: note: in expansion of macro 'rep'
38 | rep(i, 0, der.size() - 1){
| ^~~
boxes.cpp:13:27: warning: unused variable 'ini' [-Wunused-variable]
13 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^~~
boxes.cpp:13:31: warning: unused variable 'fin' [-Wunused-variable]
13 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^~~
boxes.cpp:13:35: warning: unused variable 'b' [-Wunused-variable]
13 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^
boxes.cpp:13:37: warning: unused variable 'cont' [-Wunused-variable]
13 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^~~~
boxes.cpp:13:42: warning: unused variable 'Ma' [-Wunused-variable]
13 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^~
boxes.cpp:13:45: warning: unused variable 'Mb' [-Wunused-variable]
13 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^~
boxes.cpp:14:19: warning: variable 'res' set but not used [-Wunused-but-set-variable]
14 | long long int res,MIN,sum,l, sI, sD;
| ^~~
boxes.cpp:14:27: warning: unused variable 'sum' [-Wunused-variable]
14 | long long int res,MIN,sum,l, sI, sD;
| ^~~
boxes.cpp:14:31: warning: unused variable 'l' [-Wunused-variable]
14 | long long int res,MIN,sum,l, sI, sD;
| ^