ho_t2.cpp: In function 'int main()':
ho_t2.cpp:26:26: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i = 0; i + k <= jvec.size(); i ++)
| ~~~~~~^~~~~~~~~~~~~~
ho_t2.cpp:29:17: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | while(j < ovec.size() && ovec[j] < jvec[i + k - 1]) j ++;
| ~~^~~~~~~~~~~~~
ho_t2.cpp:30:18: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | if(j + k > ovec.size()) continue;
| ~~~~~~^~~~~~~~~~~~~
ho_t2.cpp:32:18: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | while(j2 < ivec.size() && ivec[j2] < ovec[j + k - 1]) j2 ++;
| ~~~^~~~~~~~~~~~~
ho_t2.cpp:33:19: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector<long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | if(j2 + k <= ivec.size())
| ~~~~~~~^~~~~~~~~~~~~~