In file included from /usr/include/c++/10/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:33,
from wiring.cpp:1:
wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:61:19: warning: comparison of integer expressions of different signedness: 'std::vector<long int>::size_type' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare]
61 | assert(v.size() < g);
| ~~~~~~~~~^~~
wiring.cpp:69:21: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | for (int i = 0; i <= v.size(); i++) // How many we're putting to right
| ~~^~~~~~~~~~~
wiring.cpp:73:22: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]
73 | for (int j = 0; j < v.size()-i; j++)
| ~~^~~~~~~~~~~~
wiring.cpp:75:31: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for (int j = v.size()-i; j < v.size(); j++)
| ~~^~~~~~~~~~
wiring.cpp:79:11: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare]
79 | if (j < v.size()-i) // We need to take more
| ~~^~~~~~~~~~~~
wiring.cpp:52:6: warning: unused variable 'current' [-Wunused-variable]
52 | int current = 0;
| ^~~~~~~