ho_t2.cpp: In function 'int main()':
ho_t2.cpp:24:25: warning: comparison of integer expressions of different signedness: 'std::queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
24 | while (posj.size()>k) posj.pop();
| ~~~~~~~~~~~^~
ho_t2.cpp:25:22: warning: comparison of integer expressions of different signedness: 'std::queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
25 | if (posj.size()==k) prefj[i]=posj.front();
| ~~~~~~~~~~~^~~
ho_t2.cpp:26:25: warning: comparison of integer expressions of different signedness: 'std::queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
26 | while (poso.size()>k) poso.pop();
| ~~~~~~~~~~~^~
ho_t2.cpp:27:22: warning: comparison of integer expressions of different signedness: 'std::queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
27 | if (poso.size()==k) prefo[i]=poso.front();
| ~~~~~~~~~~~^~~
ho_t2.cpp:28:25: warning: comparison of integer expressions of different signedness: 'std::queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
28 | while (posi.size()>k) posi.pop();
| ~~~~~~~~~~~^~
ho_t2.cpp:29:22: warning: comparison of integer expressions of different signedness: 'std::queue<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
29 | if (posi.size()==k) prefi[i]=posi.front();
| ~~~~~~~~~~~^~~