joiris.cpp: In function 'void print_ans(bool)':
joiris.cpp:18: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]
18 | 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:68:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for(int s=0; s<vr.size(); s+=k)
| ~^~~~~~~~~~
joiris.cpp:73:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | if(tj>=vr.size()) vr.push_back(n);
| ~~^~~~~~~~~~~
joiris.cpp:78:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | for(int s=0; s<vr.size(); s++) if(vr[s]) vr2.push_back(vr[s]);
| ~^~~~~~~~~~
joiris.cpp:81:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for(int i=0; i<vr.size(); i++)
| ~^~~~~~~~~~
joiris.cpp:56:17: warning: unused variable 'br' [-Wunused-variable]
56 | int id=n-1, br=0;
| ^~
joiris.cpp:65:9: warning: unused variable 't' [-Wunused-variable]
65 | int t=vr.size();
| ^