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