wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:13:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < r.size() ; i ++){
~~^~~~~~~~~~
wiring.cpp:14:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0 ; j < b.size() ; j ++){
~~^~~~~~~~~~
wiring.cpp:24:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < v.size() ; i++){
~~^~~~~~~~~~
wiring.cpp:27:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < v.size() ; i++){
~~^~~~~~~~~~
wiring.cpp:6:15: warning: unused variable 'used' [-Wunused-variable]
long long used[100001] , ans = 0 , u1[100001] , u2[100001];
^~~~