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