ho_t2.cpp:5:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
5 | main(){
| ^~~~
ho_t2.cpp: In function 'int main()':
ho_t2.cpp:16:18: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
16 | if(pos[0].size()<k-1){
| ~~~~~~~~~~~~~^~~~
ho_t2.cpp:20:17: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i=k-1;i<pos[0].size();i++){
| ~^~~~~~~~~~~~~~
ho_t2.cpp:24:11: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | if(x+k-1>=pos[1].size()){
| ~~~~~^~~~~~~~~~~~~~~
ho_t2.cpp:29:11: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | if(y+k-1>=pos[2].size()){
| ~~~~~^~~~~~~~~~~~~~~