wiring.cpp: In function 'int solve(int, int)':
wiring.cpp:8:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==A.size()&&j==B.size())return 0;
~^~~~~~~~~~
wiring.cpp:8:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==A.size()&&j==B.size())return 0;
~^~~~~~~~~~
wiring.cpp:9:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==A.size()||j==B.size())return INT_MAX;
~^~~~~~~~~~
wiring.cpp:9:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==A.size()||j==B.size())return INT_MAX;
~^~~~~~~~~~
wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:17:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < b.size(); ++i)
~~^~~~~~~~~~
wiring.cpp:23:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < r.size(); ++i)
~~^~~~~~~~~~
wiring.cpp:25:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = r.size(); i < b.size(); ++i)
~~^~~~~~~~~~