ho_t2.cpp: In function 'int find_first(const std::vector<int>&, int)':
ho_t2.cpp:41:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | if (l == pos.size())
| ~~^~~~~~~~~~~~~
ho_t2.cpp: In function 'int main()':
ho_t2.cpp:73:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | for (int i = 0; i < positions[0].size(); ++i)
| ~~^~~~~~~~~~~~~~~~~~~~~
ho_t2.cpp:75:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | if (i + k - 1 >= positions[0].size())
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ho_t2.cpp:86:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
86 | if (first1 == -1 || first1 + k - 1 >= positions[1].size())
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ho_t2.cpp:99:44: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
99 | if (first2 == -1 || first2 + k - 1 >= positions[2].size())
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~