sails.cpp: In function 'std::vector<int> merge(std::vector<int>&, std::vector<int>&)':
sails.cpp:15:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i = 0; i < (V1.size() + V2.size()); ++i){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
sails.cpp:16:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if(pos1 < V1.size() && pos2 < V2.size()){
| ~~~~~^~~~~~~~~~~
sails.cpp:16:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if(pos1 < V1.size() && pos2 < V2.size()){
| ~~~~~^~~~~~~~~~~
sails.cpp:24:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | }else if(pos1 < V1.size()){
| ~~~~~^~~~~~~~~~~
sails.cpp: In function 'int main()':
sails.cpp:45:27: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
45 | while(occupation.size() < h)occupation.push_back(0);
| ~~~~~~~~~~~~~~~~~~^~~