monster.cpp: In function 'std::vector<int> solve2(std::vector<int>)':
monster.cpp:20:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i = 0; i < v.size(); i++)
| ~~^~~~~~~~~~
monster.cpp:21:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if(i < v.size()/2) left.push_back(v[i]);
| ~~^~~~~~~~~~~~
monster.cpp:30:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int l = 0, r = 0; l < left.size() || r < right.size();){
| ~~^~~~~~~~~~~~~
monster.cpp:30:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int l = 0, r = 0; l < left.size() || r < right.size();){
| ~~^~~~~~~~~~~~~~
monster.cpp:31:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | if(r == right.size() || (l < left.size() && ask(right[r], left[l]))) res.push_back(left[l++]);
| ~~^~~~~~~~~~~~~~~
monster.cpp:31:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | if(r == right.size() || (l < left.size() && ask(right[r], left[l]))) res.push_back(left[l++]);
| ~~^~~~~~~~~~~~~