boxes.cpp: In function 'll delivery(int, int, int, int*)':
boxes.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
boxes.cpp:15:2: note: in expansion of macro 'fp'
15 | fp(i,0,n){
| ^~
boxes.cpp:29:19: warning: conversion from 'std::vector<long long int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
29 | int x = a.size()-1;
| ~~~~~~~~^~
boxes.cpp:32:15: warning: conversion from 'std::vector<long long int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
32 | x = b.size()-1;
| ~~~~~~~~^~
boxes.cpp:7:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
7 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
boxes.cpp:38:3: note: in expansion of macro 'fp'
38 | fp(i,0,k){
| ^~
boxes.cpp:55:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | while(x < a.size())
| ~~^~~~~~~~~~
boxes.cpp:58:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | while(x < a.size())
| ~~^~~~~~~~~~