wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:10:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<r.size();i++){
~^~~~~~~~~
wiring.cpp:18:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<r.size();i++){
~^~~~~~~~~
wiring.cpp:21:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<0||j>=b.size())continue;
~^~~~~~~~~~
wiring.cpp:24:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+1<r.size()){
~~~^~~~~~~~~
wiring.cpp:28:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j+1<b.size()){
~~~^~~~~~~~~
wiring.cpp:32:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+1<r.size()&&j+1<b.size()){
~~~^~~~~~~~~
wiring.cpp:32:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+1<r.size()&&j+1<b.size()){
~~~^~~~~~~~~
wiring.cpp:12:12: warning: iteration 110 invokes undefined behavior [-Waggressive-loop-optimizations]
dp[i][j]=LLONG_MAX;
^
wiring.cpp:11:16: note: within this loop
for(int j=0;j<200;j++){
~^~~~