boxes.cpp: In function 'long long int delivery(int, int, int, int*)':
boxes.cpp:45:31: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
45 | MIN = costo(der,der.size()-1,K) + costo(izq,izq.size()-1,K);
| ~~~~~~~~~~^~
boxes.cpp:45:59: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
45 | MIN = costo(der,der.size()-1,K) + costo(izq,izq.size()-1,K);
| ~~~~~~~~~~^~
boxes.cpp:49:39: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
49 | a = L + costo(der,der.size()-1-i,K) + costo(izq, izq.size()-1-(K-i) ,K);
| ~~~~~~~~~~~~^~
boxes.cpp:49:70: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
49 | a = L + costo(der,der.size()-1-i,K) + costo(izq, izq.size()-1-(K-i) ,K);
| ~~~~~~~~~~~~^~~~~~
boxes.cpp:29:27: warning: unused variable 'ini' [-Wunused-variable]
29 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^~~
boxes.cpp:29:31: warning: unused variable 'fin' [-Wunused-variable]
29 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^~~
boxes.cpp:29:35: warning: unused variable 'b' [-Wunused-variable]
29 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^
boxes.cpp:29:37: warning: unused variable 'cont' [-Wunused-variable]
29 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^~~~
boxes.cpp:29:42: warning: unused variable 'Ma' [-Wunused-variable]
29 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^~
boxes.cpp:29:45: warning: unused variable 'Mb' [-Wunused-variable]
29 | long long int mitad,a,ini,fin,b,cont,Ma,Mb;
| ^~
boxes.cpp:30:19: warning: variable 'res' set but not used [-Wunused-but-set-variable]
30 | long long int res,MIN,sum,l;
| ^~~
boxes.cpp:30:27: warning: unused variable 'sum' [-Wunused-variable]
30 | long long int res,MIN,sum,l;
| ^~~
boxes.cpp:30:31: warning: unused variable 'l' [-Wunused-variable]
30 | long long int res,MIN,sum,l;
| ^