split.cpp: In function 'std::vector<int> find_split(int, int, int, int, std::vector<int>, std::vector<int>)':
split.cpp:9:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | for(int i=0;i<p.size();i++)adj[p[i]].emplace_back(q[i]);
| ~^~~~~~~~~
split.cpp:10:15: 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<p.size();i++)adj[q[i]].emplace_back(p[i]);
| ~^~~~~~~~~
split.cpp:22:1: warning: no return statement in function returning non-void [-Wreturn-type]
22 | }
| ^