boxes.cpp: In function 'long long int evalVector(std::vector<int>&, std::vector<long long int>&, int)':
boxes.cpp:12:36: warning: unused parameter 'v' [-Wunused-parameter]
12 | long long evalVector(vector <int> &v, vector <long long> &pref, int sz)
| ~~~~~~~~~~~~~~^
boxes.cpp: In function 'void initPref(std::vector<int>&, std::vector<long long int>&)':
boxes.cpp:21:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int i = 0;i<v.size();i++)
| ~^~~~~~~~~
boxes.cpp: In function 'long long int solve(std::vector<int>, std::vector<int>)':
boxes.cpp:35:45: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
35 | answer = evalVector(v1, pref1, v1.size()-1) + evalVector(v2, pref2, v2.size()-1);
| ~~~~~~~~~^~
boxes.cpp:35:82: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
35 | answer = evalVector(v1, pref1, v1.size()-1) + evalVector(v2, pref2, v2.size()-1);
| ~~~~~~~~~^~
boxes.cpp:39:67: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
39 | answer = min(answer, l + evalVector(v1, pref1, v1.size()-1-(k-rem)) + evalVector(v2, pref2, v2.size()-1-rem));
| ~~~~~~~~~~~^~~~~~~~
boxes.cpp:39:112: warning: conversion from 'std::vector<int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
39 | answer = min(answer, l + evalVector(v1, pref1, v1.size()-1-(k-rem)) + evalVector(v2, pref2, v2.size()-1-rem));
| ~~~~~~~~~~~^~~~