foo.cc: In function ‘void solve_1002(int, int, int, std::vector<int>, std::unordered_set<int>, int)’:
foo.cc:42:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
42 | if(i<pos.size()-1 && pos[i]+T < pos[i+1]) {
| ~^~~~~~~~~~~~~
foo.cc:46:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
46 | for(int j=i+1;j<pos.size();j++) {
| ~^~~~~~~~~~~
foo.cc:57:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
57 | for(int j=i+1;j<pos.size();j++) {
| ~^~~~~~~~~~~