wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:27:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int i=0; i<e.sz(); i++){
| ^
wiring.cpp:36:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while(r<e.sz()){
| ^
wiring.cpp:44:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | if(r<e.sz() and (x<0 or e[i].ff-e[x].ff > e[r].ff-e[i].ff))
| ^
wiring.cpp:55:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for(int i=0; i<e.sz(); i++){
| ^
wiring.cpp:63:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | while(r<e.sz()){
| ^
wiring.cpp:71:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | if(r<e.sz() and (x<0 or e[i].ff-e[x].ff > e[r].ff-e[i].ff))
| ^
wiring.cpp:17:5: warning: unused variable 'n' [-Wunused-variable]
17 | ll n=a.sz();
| ^
wiring.cpp:18:5: warning: unused variable 'm' [-Wunused-variable]
18 | ll m=b.sz();
| ^
wiring.cpp:19:5: warning: unused variable 'x' [-Wunused-variable]
19 | ll x=0, y=0;
| ^
wiring.cpp:19:10: warning: unused variable 'y' [-Wunused-variable]
19 | ll x=0, y=0;
| ^