foo.cc: In function 'void Output2(std::vector<int>&)':
foo.cc:8:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | for(int i = 0;i < v.size();i++)
| ~~^~~~~~~~~~
foo.cc: In function 'void Output1(std::vector<int>&, int)':
foo.cc:23:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(;i < v.size();i++)
| ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务