ho_t2.cpp: In function 'int main()':
ho_t2.cpp:32:20: warning: comparison of integer expressions of different signedness: 'std::queue<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
32 | if(q.size()>k){
| ~~~~~~~~^~
ho_t2.cpp:35:20: warning: comparison of integer expressions of different signedness: 'std::queue<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
35 | if(q.size()<k){
| ~~~~~~~~^~
ho_t2.cpp:49:20: warning: comparison of integer expressions of different signedness: 'std::queue<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
49 | if(q.size()>k){
| ~~~~~~~~^~
ho_t2.cpp:52:20: warning: comparison of integer expressions of different signedness: 'std::queue<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
52 | if(q.size()<k){
| ~~~~~~~~^~
ho_t2.cpp:26:9: warning: unused variable 'cnt' [-Wunused-variable]
26 | int cnt=0;
| ^~~