Main.cpp: In function 'bool same(std::vector<int>&, std::vector<int>&)':
Main.cpp:10:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i = 0;i<a.size();i++){
| ~^~~~~~~~~
Main.cpp: In function 'std::vector<int> shuf(std::vector<int>&)':
Main.cpp:19:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i = 0;i<v.size();i++){
| ~^~~~~~~~~
Main.cpp:20:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | if(i+i<v.size())vl.push_back(v[i]);
| ~~~^~~~~~~~~
Main.cpp:24:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | while(pl<vl.size()&&pr<vr.size()){
| ~~^~~~~~~~~~
Main.cpp:24:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | while(pl<vl.size()&&pr<vr.size()){
| ~~^~~~~~~~~~
Main.cpp:28:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | while(pl<vl.size())re.push_back(vl[pl++]);
| ~~^~~~~~~~~~
Main.cpp:29:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | while(pr<vr.size())re.push_back(vr[pr++]);
| ~~^~~~~~~~~~
Main.cpp: In function 'void check_loop(std::vector<int>)':
Main.cpp:41:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
41 | for(auto &i:v)cerr<<i<<' ';cerr<<'\n';
| ^~~
Main.cpp:41:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
41 | for(auto &i:v)cerr<<i<<' ';cerr<<'\n';
| ^~~~
Main.cpp:45:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
45 | for(auto &i:v)cerr<<i<<' ';cerr<<'\n';
| ^~~
Main.cpp:45:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
45 | for(auto &i:v)cerr<<i<<' ';cerr<<'\n';
| ^~~~