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