wiring.cpp: In function 'long long int zzz(std::vector<int>, std::vector<int>)':
wiring.cpp:12:14: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
12 | if (r.size()>n) for (int i=n; i<r.size(); ++i) ans+=b[0]-r[i];
| ~~~~~~~~^~
wiring.cpp:12:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | if (r.size()>n) for (int i=n; i<r.size(); ++i) ans+=b[0]-r[i];
| ~^~~~~~~~~
wiring.cpp:13:14: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
13 | if (b.size()>n) for (int i=n; i<b.size(); ++i) ans+=b[i]-r[n-1];
| ~~~~~~~~^~
wiring.cpp:13:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | if (b.size()>n) for (int i=n; i<b.size(); ++i) ans+=b[i]-r[n-1];
| ~^~~~~~~~~
wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:32:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
32 | if (f.front()>x) continue; f.pop();
| ^~
wiring.cpp:32:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
32 | if (f.front()>x) continue; f.pop();
| ^
wiring.cpp:39:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
39 | if (s.front()>x) continue; s.pop();
| ^~
wiring.cpp:39:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
39 | if (s.front()>x) continue; s.pop();
| ^
wiring.cpp:28:12: warning: unused variable 'j' [-Wunused-variable]
28 | int i=0, j=0;
| ^