foo.cc: In function 'void Output(const std::vector<int>&)':
foo.cc:8:16: 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 'int Search(const std::vector<int>&, int)':
foo.cc:14:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(int i=0; i<v.size(); i++)
| ~^~~~~~~~~
foo.cc: In function 'std::string Comp(std::vector<int>&, int)':
foo.cc:26:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i=si; i<sh.size(); i++)
| ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务