wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:9:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<r.size();i++){
~^~~~~~~~~
wiring.cpp:16:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<r.size();i++){
~^~~~~~~~~
wiring.cpp:19:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<0||j>=b.size())continue;
~^~~~~~~~~~
wiring.cpp:22:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+1<r.size()){
~~~^~~~~~~~~
wiring.cpp:26:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j+1<b.size()){
~~~^~~~~~~~~
wiring.cpp:30:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+1<r.size()&&j+1<b.size()){
~~~^~~~~~~~~
wiring.cpp:30:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+1<r.size()&&j+1<b.size()){
~~~^~~~~~~~~
wiring.cpp:36:6: warning: unused variable 't' [-Wunused-variable]
int t=r.size()-1;
^