wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:16:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i >= 0 && j < b.size()){
~~^~~~~~~~~~
wiring.cpp:27:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (j < b.size()){
~~^~~~~~~~~~
wiring.cpp:10:13: warning: unused variable 'curr' [-Wunused-variable]
int i , curr , j;
^~~~
wiring.cpp:11:25: warning: unused variable 'val1' [-Wunused-variable]
long long sol = 0 , val1 , val2;
^~~~
wiring.cpp:11:32: warning: unused variable 'val2' [-Wunused-variable]
long long sol = 0 , val1 , val2;
^~~~