ho_t2.cpp: In function 'int main()':
ho_t2.cpp:16:32: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
16 | for(int j=0, o=0; I.size() >= k and o+k <= O.size(); o++){
| ~~~~~~~~~^~~~
ho_t2.cpp:16:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for(int j=0, o=0; I.size() >= k and o+k <= O.size(); o++){
| ~~~~^~~~~~~~~~~
ho_t2.cpp:18:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | while(j<J.size() and J[j] < l) aux.push_back(J[j++]);
| ~^~~~~~~~~
ho_t2.cpp:19:26: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
19 | while(aux.size() > k) aux.pop_front();
| ~~~~~~~~~~~^~~
ho_t2.cpp:21:23: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
21 | if(aux.size() == k and I.size() >= k) ans = min(ans, (I[k-1] - aux[0] + 1) - 3*k);
| ~~~~~~~~~~~^~~~
ho_t2.cpp:21:41: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
21 | if(aux.size() == k and I.size() >= k) ans = min(ans, (I[k-1] - aux[0] + 1) - 3*k);
| ~~~~~~~~~^~~~