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:15:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<r.size();i++){
~^~~~~~~~~
wiring.cpp:18:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<0||j>=b.size())continue;
~^~~~~~~~~~
wiring.cpp:21:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+1<r.size()){
~~~^~~~~~~~~
wiring.cpp:25:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j+1<b.size()){
~~~^~~~~~~~~
wiring.cpp:29:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+1<r.size()&&j+1<b.size()){
~~~^~~~~~~~~
wiring.cpp:29:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+1<r.size()&&j+1<b.size()){
~~~^~~~~~~~~
wiring.cpp:35:6: warning: unused variable 't' [-Wunused-variable]
int t=r.size()-1;
^