swap.cpp: In function 'stri mer(stri, stri)':
swap.cpp:14:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(int i = 0, j = 0, len = 1; i < a.size() || j < b.size(); len*=2) {
| ~~^~~~~~~~~~
swap.cpp:14:51: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(int i = 0, j = 0, len = 1; i < a.size() || j < b.size(); len*=2) {
| ~~^~~~~~~~~~
swap.cpp: In function 'std::vector<std::__cxx11::basic_string<int> > solve(int, int, std::vector<int>)':
swap.cpp:45:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for(int i = 0; i < vals.size(); i++) {
| ~~^~~~~~~~~~~~~
swap.cpp: In function 'int main()':
swap.cpp:71:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
71 | for(auto i : X) cout << i << " "; cout << '\n';
| ^~~
swap.cpp:71:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
71 | for(auto i : X) cout << i << " "; cout << '\n';
| ^~~~