foo.cc: In function ‘std::pair<std::vector<int>, std::__cxx11::basic_string<char> > dfs(std::unordered_map<std::__cxx11::basic_string<char>, std::pair<std::vector<int>, std::__cxx11::basic_string<char> > >&, std::vector<int>&, int, int)’:
foo.cc:57:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
57 | for(int i=2;i<left.first.size();i++) {
| ~^~~~~~~~~~~~~~~~~~
foo.cc:62:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
62 | for(int i=2;i<right.first.size();i++) {
| ~^~~~~~~~~~~~~~~~~~~
foo.cc: In function ‘void solve_1038(std::vector<int>&)’:
foo.cc:80:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
80 | for(int i=2;i<res.first.size();i++) {
| ~^~~~~~~~~~~~~~~~~
foo.cc:81:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
81 | if(i < res.first.size()-1) {
| ~~^~~~~~~~~~~~~~~~~~~~