icc.cpp: In function 'int solve()':
icc.cpp:26:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i = 0; i<x.size(); i++) {
| ~^~~~~~~~~
icc.cpp:29:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i = 0; i<y.size(); i++) {
| ~^~~~~~~~~
icc.cpp: In function 'void dfs(int, int)':
icc.cpp:49:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for(int i=0;i<V[u].size();i++) {
| ~^~~~~~~~~~~~
icc.cpp: In function 'void run(int)':
icc.cpp:68:7: warning: unused variable 'l' [-Wunused-variable]
68 | int l = 1, r = n-1,u = 0,v = 0;
| ^
icc.cpp:68:14: warning: unused variable 'r' [-Wunused-variable]
68 | int l = 1, r = n-1,u = 0,v = 0;
| ^
icc.cpp: In function 'int solve()':
icc.cpp:41:9: warning: 'u' may be used uninitialized in this function [-Wmaybe-uninitialized]
41 | return u;
| ^