foo.cc: In function 'std::vector<int> times(std::vector<int>&, std::vector<int>&)':
foo.cc:8:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | for(int b_pos=0;b_pos<b.size();b_pos++){
| ~~~~~^~~~~~~~~
foo.cc:10:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int a_pos=0;a_pos<a.size();a_pos++){
| ~~~~~^~~~~~~~~
foo.cc:12:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | if(a_pos+b_pos>=c.size()) c.push_back(t%10);
| ~~~~~~~~~~~^~~~~~~~~~
foo.cc:20:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i=0;i<c.size();i++){
| ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务