ho_t2.cpp: In function 'int get_next(int, int)':
ho_t2.cpp:17:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | if (x+k-1 >= pos[ind].size()) return -1;
| ~~~~~~^~~~~~~~~~~~~~~~~~
ho_t2.cpp: In function 'bool ok(int)':
ho_t2.cpp:24:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | if (i+k-1 >= pos[0].size()) return false;
| ~~~~~~^~~~~~~~~~~~~~~~
ho_t2.cpp: In function 'int main()':
ho_t2.cpp:51:36: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
51 | if (s[i] != 'I' || pos[0].size() < k) continue;
| ~~~~~~~~~~~~~~^~~