cross.cpp: In function 'long long int SelectCross(int, std::vector<int>, std::vector<int>)':
cross.cpp:19:18: warning: comparison of integer expressions of different signedness: 'std::multiset<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
19 | if(maxo.size() < K || (*maxo.begin()) < O[orderI[i]]) {
| ~~~~~~~~~~~~^~~
cross.cpp:21:19: warning: comparison of integer expressions of different signedness: 'std::multiset<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
21 | if(maxo.size() > K) maxo.erase(maxo.begin());
| ~~~~~~~~~~~~^~~
cross.cpp:23:18: warning: comparison of integer expressions of different signedness: 'std::multiset<long long int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
23 | if(maxo.size() == K) mx = max(mx, mndi*(2*(*maxo.begin())-mndi));
| ~~~~~~~~~~~~^~~~
cross.cpp:17:17: warning: unused variable 'j' [-Wunused-variable]
17 | for(int i = 0, j = 0; i < N; i++) {
| ^