aplusb.cpp: In function 'long long int f(int, std::vector<int>&, std::vector<int>&)':
aplusb.cpp:7:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | for(int i = 0;i<A.size();i++){
| ~^~~~~~~~~
aplusb.cpp: In function 'std::vector<int> smallest_sums(int, std::vector<int>, std::vector<int>)':
aplusb.cpp:23:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i = 0;i<A.size();i++){
| ~^~~~~~~~~
aplusb.cpp:24:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int j = 0;j<B.size()&&A[i]+B[j]<l;j++)re.push_back(A[i]+B[j]);
| ~^~~~~~~~~
aplusb.cpp:26:17: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
26 | while(re.size()<N)re.push_back(l);
| ~~~~~~~~~^~