wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:8:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | while(pr < r.size() && pb < b.size()){
| ~~~^~~~~~~~~~
wiring.cpp:8:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | while(pr < r.size() && pb < b.size()){
| ~~~^~~~~~~~~~
wiring.cpp:12:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | if(pr==r.size()){
| ~~^~~~~~~~~~
wiring.cpp:13:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(;pb < b.size();pb++) ans += b[pb]-r.back();
| ~~~^~~~~~~~~~
wiring.cpp:15:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(;pr < r.size();pr++) ans += b[0]-r[pr];
| ~~~^~~~~~~~~~