foo.cc: In function 'int Search(std::vector<int>&, int)':
foo.cc:8:19: 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<t.size(); i++)
| ~^~~~~~~~~
foo.cc: In function 'int Count(std::vector<int>&, std::vector<int>&, std::vector<int>&)':
foo.cc:18:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i=0; i<v.size(); i+=2)
| ~^~~~~~~~~
foo.cc:25:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int i=0; i<s.size(); i++)
| ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务