wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:14:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for (int i = 0; i < rb.size(); i++)
| ~~^~~~~~~~~~~
wiring.cpp:20:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for (int it = 0; it < vv.size(); it++)
| ~~~^~~~~~~~~~~
wiring.cpp:23:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | ll nx = (it == vv.size() - 1 ? 1e10 : vv[it + 1][0]), pv = (it ? vv[it - 1].back() : -1e10);
| ~~~^~~~~~~~~~~~~~~~