wiring.cpp: In function 'long long int min_total_length(std::vector<int>, std::vector<int>)':
wiring.cpp:9:23: error: declaration of 'std::vector<long long int> s' shadows a parameter
9 | vector<long long> s(n), t(m), ss(n+m+1), st(n+m+1), dp(n+m+1), c(2*n+2*m+2);
| ^
wiring.cpp:6:45: note: 'std::vector<int> s' previously declared here
6 | long long min_total_length(std::vector<int> s, std::vector<int> t) {
| ~~~~~~~~~~~~~~~~~^
wiring.cpp:9:29: error: declaration of 'std::vector<long long int> t' shadows a parameter
9 | vector<long long> s(n), t(m), ss(n+m+1), st(n+m+1), dp(n+m+1), c(2*n+2*m+2);
| ^
wiring.cpp:6:65: note: 'std::vector<int> t' previously declared here
6 | long long min_total_length(std::vector<int> s, std::vector<int> t) {
| ~~~~~~~~~~~~~~~~~^
wiring.cpp:24:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | if(si == s.size()) si--;
| ~~~^~~~~~~~~~~
wiring.cpp:27:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if(ti == t.size()) ti--;
| ~~~^~~~~~~~~~~