boxes.cpp: In function 'long long int delivery(int, int, int, int*)':
boxes.cpp:21:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < a.size(); i++){
~~^~~~~~~~~~
boxes.cpp:29:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < b.size(); i++){
~~^~~~~~~~~~
boxes.cpp:31:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < a.size(); j++){
~~^~~~~~~~~~
boxes.cpp:38:56: error: 'j' was not declared in this scope
mn = min(mn,dpb[b.size()-1] + (long long)(N-b.size()-j+K-2)/(long long)K*(long long)L);
^
boxes.cpp:40:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < a.size(); j++){
~~^~~~~~~~~~