wand.cpp: In function 'void dfs(int)':
wand.cpp:9:19: 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 < adj[u].size(); i++){
| ~~^~~~~~~~~~~~~~~
wand.cpp: In function 'int main()':
wand.cpp:18:10: error: 'u' was not declared in this scope
18 | cin >> u >> v;
| ^
wand.cpp:18:15: error: 'v' was not declared in this scope
18 | cin >> u >> v;
| ^
wand.cpp:21:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int i = 0; i < adj[1].size(); i++) dfs(adj[1][i]);
| ~~^~~~~~~~~~~~~~~
wand.cpp:15:12: warning: unused variable 'a' [-Wunused-variable]
15 | int n, m, a, b;
| ^
wand.cpp:15:15: warning: unused variable 'b' [-Wunused-variable]
15 | int n, m, a, b;
| ^