boxes.cpp: In function 'll subtwo(int, int, int, int*)':
boxes.cpp:7:22: warning: unused parameter 'K' [-Wunused-parameter]
7 | ll subtwo(int N, int K, int L, int p[]){
| ~~~~^
boxes.cpp: In function 'll subone(int, int, int, int*)':
boxes.cpp:34:22: warning: unused parameter 'K' [-Wunused-parameter]
34 | ll subone(int N, int K, int L, int p[]){
| ~~~~^
boxes.cpp: In function 'll brute(std::vector<long long int>&, std::vector<long long int>&, int, int, int)':
boxes.cpp:44:25: warning: conversion from 'std::vector<long long int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
44 | int szlef = ldp.size() - 1, szrig = rdp.size() - 1;
| ~~~~~~~~~~~^~~
boxes.cpp:44:49: warning: conversion from 'std::vector<long long int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
44 | int szlef = ldp.size() - 1, szrig = rdp.size() - 1;
| ~~~~~~~~~~~^~~
boxes.cpp:45:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for (int i=0; i<rdp.size(); i++){
| ~^~~~~~~~~~~
boxes.cpp: In function 'll sub34(int, int, int, int*)':
boxes.cpp:65:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for (int i=0; i<ar.size(); i++){
| ~^~~~~~~~~~
boxes.cpp:74:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for (int i=0; i<le.size(); i++){
| ~^~~~~~~~~~
boxes.cpp:80:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for (int i=0; i<ri.size(); i++){
| ~^~~~~~~~~~
boxes.cpp:87:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
87 | for (int i=0; i<ldp.size(); i++){
| ~^~~~~~~~~~~