hamburg.cpp: In function 'std::vector<std::pair<int, int> > rec(int, int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&)':
hamburg.cpp:8:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
8 | if(sx==n+1)sx=0;if(sy==n+1)sy=0;
| ^~
hamburg.cpp:8:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
8 | if(sx==n+1)sx=0;if(sy==n+1)sy=0;
| ^~
hamburg.cpp: In function 'int main()':
hamburg.cpp:31:28: warning: comparison of integer expressions of different signedness: 'std::tuple_element<0, std::pair<int, int> >::type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(auto&[i,j]:toz)if(i>=indx.size()||j>=indy.size())cout<<"hi\n";else cout<<indx[i]<<" "<<indy[j]<<endl;
| ~^~~~~~~~~~~~~
hamburg.cpp:31:44: warning: comparison of integer expressions of different signedness: 'std::tuple_element<1, std::pair<int, int> >::type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(auto&[i,j]:toz)if(i>=indx.size()||j>=indy.size())cout<<"hi\n";else cout<<indx[i]<<" "<<indy[j]<<endl;
| ~^~~~~~~~~~~~~
hamburg.cpp: In function 'std::vector<std::pair<int, int> > rec(int, int, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&, std::vector<int>&)':
hamburg.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
17 | }
| ^