boxes.cpp: In function 'void buildPre(int)':
boxes.cpp:19:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i = 0;i < a.size() && i < k;i++) {
| ~~^~~~~~~~~~
boxes.cpp:22:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i = k;i < a.size();i++) {
| ~~^~~~~~~~~~
boxes.cpp:25:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int i = 0;i < b.size() && i < k;i++) {
| ~~^~~~~~~~~~
boxes.cpp:28:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(int i = k;i < b.size();i++) {
| ~~^~~~~~~~~~
boxes.cpp: In function 'll delivery(int, int, int, int*)':
boxes.cpp:51:22: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
51 | int limA = a.size()-1, limB = b.size()-1;
| ~~~~~~~~^~
boxes.cpp:51:41: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
51 | int limA = a.size()-1, limB = b.size()-1;
| ~~~~~~~~^~