autobahn.cpp: In function 'void solve()':
autobahn.cpp:31:46: warning: comparison of integer expressions of different signedness: 'std::priority_queue<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
31 | if(prv<-pq.top().fir && pq.size()>=k) val.pb({{prv,-pq.top().fir},cnt});
| ~~~~~~~~~^~~
autobahn.cpp:36:40: warning: comparison of integer expressions of different signedness: 'std::priority_queue<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | if(prv<x.fir.fir-1 && pq.size()>=k) val.pb({{prv,x.fir.fir-1},cnt});
| ~~~~~~~~~^~~
autobahn.cpp:44:42: warning: comparison of integer expressions of different signedness: 'std::priority_queue<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
44 | if(prv<-pq.top().fir && pq.size()>=k) val.pb({{prv,-pq.top().fir},cnt});
| ~~~~~~~~~^~~
autobahn.cpp:50:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for(int i=1;i<val.size();i++)
| ~^~~~~~~~~~~
autobahn.cpp:58:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for(int ptr=0;ptr<val.size();ptr++)
| ~~~^~~~~~~~~~~
autobahn.cpp:60:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | while(ptr2+1<val.size() && val[ptr2+1].fir.sec<val[ptr].fir.fir+x)
| ~~~~~~^~~~~~~~~~~
autobahn.cpp:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | if(ptr2+1>=val.size())
| ~~~~~~^~~~~~~~~~~~