foo.cc: In function 'int main()':
foo.cc:26:27: 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 = 0; i < q.size(); i++)
| ~~^~~~~~~~~~
foo.cc:40:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (int i = 1; i < r.size(); i += 2)
| ~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务