wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:29:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (int i = 0; i < A.size(); ) {
| ~~^~~~~~~~~~
wiring.cpp:32:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | while (j < A.size() && A[i].red == A[j].red) cur.push_back(A[j]), ++j;
| ~~^~~~~~~~~~
wiring.cpp:48:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<Point> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for (int id = 0; id < s.size(); ++id) {
| ~~~^~~~~~~~~~
wiring.cpp:51:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for (int i = 0; i < A.size(); ++i) {
| ~~^~~~~~~~~~
wiring.cpp:56:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<Point> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | if (id + 1 == s.size()) break;
| ~~~~~~~^~~~~~~~~~~
wiring.cpp:58:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for (int i = 0; i < s[id].size(); ++i) {
| ~~^~~~~~~~~~~~~~
wiring.cpp:64:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | for (int i = s[id].size() + 1; i <= s[id + 1].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~