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