robots.cpp: In function 'bool solve(int, std::vector<int>&, std::vector<int>&, std::vector<std::pair<int, int> >&)':
robots.cpp:17:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | while(r < T.size() && T[r].f < x) {q.push({T[r].s, T[r].f}); r++;}
| ~~^~~~~~~~~~
robots.cpp:25:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int i=r; i<T.size(); i++) nT.push_back(T[i].s);
| ~^~~~~~~~~
robots.cpp:31:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | while(rem && r < nT.size() && x > nT[r]){
| ~~^~~~~~~~~~~
robots.cpp:36:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | return r == nT.size();
| ~~^~~~~~~~~~~~