minerals.cpp: In function 'void solve(std::vector<int>, std::vector<int>, bool, bool)':
minerals.cpp:42:16: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
42 | if(lY.size() == mid || rY.size() == N - mid)
| ~~~~~~~~~~^~~~~~
minerals.cpp:42:36: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
42 | if(lY.size() == mid || rY.size() == N - mid)
| ~~~~~~~~~~^~~~~~~~~~
minerals.cpp:45:15: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
45 | if(lY.size() == mid)
| ~~~~~~~~~~^~~~~~
minerals.cpp:46:19: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
46 | while(rY.size() < N - mid)
| ~~~~~~~~~~^~~~~~~~~
minerals.cpp:52:19: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
52 | while(lY.size() < mid)
| ~~~~~~~~~~^~~~~