foo.cc: In function 'std::vector<int> add(std::vector<int>&, std::vector<int>&)':
foo.cc:13:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int i = 0; i < A.size(); i++){
| ~~^~~~~~~~~~
foo.cc:15:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | if(i < B.size()) t+= B[i];
| ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务