ho_t2.cpp: In function 'int main()':
ho_t2.cpp:12:8: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
12 | cin>>s+1;
| ~^~
ho_t2.cpp:29:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int j = k-1; j< js.size(); j++)
| ~^~~~~~~~~~~~
ho_t2.cpp:31:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | while(cur+k-1< is.size() && qs[is[cur]-1]-qs[js[j]]< k)
| ~~~~~~~^~~~~~~~~~~
ho_t2.cpp:34:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | if(cur+k-1< is.size() && qs[is[cur]-1]-qs[js[j]]>= k)
| ~~~~~~~^~~~~~~~~~~