ho_t2.cpp: In function 'int main()':
ho_t2.cpp:18:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | while(cur[0] < pos[0].size()){
| ~~~~~~~^~~~~~~~~~~~~~~
ho_t2.cpp:22:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | if(cur[0]+k-1 >= pos[0].size())break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~
ho_t2.cpp:23:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | while(cur[1] < pos[1].size()){
| ~~~~~~~^~~~~~~~~~~~~~~
ho_t2.cpp:27:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if(cur[1]+k-1 >= pos[1].size())break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~
ho_t2.cpp:28:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | while(cur[2] < pos[2].size()){
| ~~~~~~~^~~~~~~~~~~~~~~
ho_t2.cpp:32:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | if(cur[2]+k-1 >= pos[2].size())break;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~
ho_t2.cpp:8:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | scanf("%d %d",&n,&k);
| ~~~~~^~~~~~~~~~~~~~~
ho_t2.cpp:9:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%s",c+1);
| ~~~~~^~~~~~~~~~