ho_t2.cpp: In function 'int main()':
ho_t2.cpp:31:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int itJ=0;itJ<JJ.size()-k+1;itJ++)
| ~~~^~~~~~~~~~~~~~
ho_t2.cpp:36:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | if(itI+k-1>=II.size()) continue;
| ~~~~~~~^~~~~~~~~~~
ho_t2.cpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | if(itI+k-1>=II.size())
| ~~~~~~~^~~~~~~~~~~
ho_t2.cpp:45:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | if(itI+k-1>=II.size()) continue;
| ~~~~~~~^~~~~~~~~~~
ho_t2.cpp:13:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d %d",&n,&k);
| ~~~~~^~~~~~~~~~~~~~~