wiring.cpp: In function 'll min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:21:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int i=0;i<r.size();i++) v.pb({r[i],0});
| ~^~~~~~~~~
wiring.cpp:22:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i=0;i<b.size();i++) v.pb({b[i],1});
| ~^~~~~~~~~
wiring.cpp:26:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i=1;i<v.size();i++)
| ~^~~~~~~~~
wiring.cpp:19:8: warning: unused variable 'lastr' [-Wunused-variable]
19 | ll lastr=-INF,lastb=-INF,posr=-1,posb=-1;
| ^~~~~
wiring.cpp:19:19: warning: unused variable 'lastb' [-Wunused-variable]
19 | ll lastr=-INF,lastb=-INF,posr=-1,posb=-1;
| ^~~~~
wiring.cpp:19:30: warning: unused variable 'posr' [-Wunused-variable]
19 | ll lastr=-INF,lastb=-INF,posr=-1,posb=-1;
| ^~~~
wiring.cpp:19:38: warning: unused variable 'posb' [-Wunused-variable]
19 | ll lastr=-INF,lastb=-INF,posr=-1,posb=-1;
| ^~~~