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:57:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for(int s=0; s<vr.size(); s+=k)
| ~^~~~~~~~~~
joiris.cpp:63:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | for(int s=0; s<vr.size(); s++) if(vr[s]) vr2.push_back(vr[s]);
| ~^~~~~~~~~~
joiris.cpp:45:17: warning: unused variable 'br' [-Wunused-variable]
45 | int id=n-1, br=0;
| ^~
joiris.cpp:54:9: warning: unused variable 't' [-Wunused-variable]
54 | int t=vr.size();
| ^