islands.cpp: In function 'std::vector<int> gen(std::vector<int>)':
islands.cpp:18:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(ll i = 0;i<=v.size()/2-1;i++) ans.pb(v[i]);
| ~^~~~~~~~~~~~~~
islands.cpp:19:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(ll i = v.size()-1;i>=v.size()/2;i--) ans.pb(v[i]);
| ~^~~~~~~~~~~~
islands.cpp:21:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(ll i = v.size()/2;i<=v.size()-1;i++) ans.pb(v[i]);
| ~^~~~~~~~~~~~
islands.cpp: In function 'std::variant<bool, std::vector<int, std::allocator<int> > > find_journey(int, int, std::vector<int>, std::vector<int>)':
islands.cpp:32:25: warning: unused variable 'y' [-Wunused-variable]
32 | ll x = U[i],y = V[i];
| ^
islands.cpp:55:26: warning: comparison of integer expressions of different signedness: 'std::set<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
55 | if(n<=400&&sss.size()==n*(n-1)/2&&m==n*(n-1)/2){
| ~~~~~~~~~~^~~~~~~~~~~
islands.cpp:66:1: warning: control reaches end of non-void function [-Wreturn-type]
66 | }
| ^