joiris.cpp: In function 'void print_ans(bool)':
joiris.cpp:17:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for(int i=0; i<moves.size(); i++) cout<<moves[i].first<<" "<<moves[i].second+1<<endl;
| ~^~~~~~~~~~~~~
joiris.cpp: In function 'int main()':
joiris.cpp:67:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | for(int s=0; s<vr.size(); s+=k)
| ~^~~~~~~~~~
joiris.cpp:72:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | if(tj>=vr.size()) vr.push_back(n);
| ~~^~~~~~~~~~~
joiris.cpp:77:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | for(int s=0; s<vr.size(); s++) if(vr[s]) vr2.push_back(vr[s]);
| ~^~~~~~~~~~
joiris.cpp:80:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for(int i=0; i<vr.size(); i++)
| ~^~~~~~~~~~
joiris.cpp:55:17: warning: unused variable 'br' [-Wunused-variable]
55 | int id=n-1, br=0;
| ^~
joiris.cpp:64:9: warning: unused variable 't' [-Wunused-variable]
64 | int t=vr.size();
| ^