wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:20:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | while(ind2<ss.size()){
| ~~~~^~~~~~~~~~
wiring.cpp:23:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | while(ind2<ss.size()){
| ~~~~^~~~~~~~~~
wiring.cpp:33:23: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(long long i = 1;i<tt.size();i++){
| ~^~~~~~~~~~
wiring.cpp:34:25: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(long long j = 0;j <= tt[i].size();j++) dp2[j] = 1e18;
| ~~^~~~~~~~~~~~~~~
wiring.cpp:37:25: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(long long j = 0;j <= tt[i - 1].size();j++){
| ~~^~~~~~~~~~~~~~~~~~~
wiring.cpp:44:25: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for(long long j = 0;j <= tt[i - 1].size();j++){
| ~~^~~~~~~~~~~~~~~~~~~
wiring.cpp:55:8: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if(j<tt[i - 1].size()) mi2[j] = min(mi2[j],mi2[j+1]);
| ~^~~~~~~~~~~~~~~~~
wiring.cpp:62:25: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for(long long j = 0;j <= tt[i].size();j++){
| ~~^~~~~~~~~~~~~~~
wiring.cpp:66:25: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | for(long long j = 0;j <= tt[i].size();j++) dp[j] = dp2[j];
| ~~^~~~~~~~~~~~~~~
wiring.cpp:12:24: warning: control reaches end of non-void function [-Wreturn-type]
12 | vector<pair<int,int>> ss;
| ^~