crocodile.cpp: In function 'void dfs(int)':
crocodile.cpp:23:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i = 0; i < tree[n].size(); i++)
| ~~^~~~~~~~~~~~~~~~
crocodile.cpp: In function 'int travel_plan(int, int, int (*)[2], int*, int, int*)':
crocodile.cpp:37:45: error: expected ';' before 'for'
37 | tree.assign(N, vector<pair<int, int>>())
| ^
| ;
38 |
39 | for(int i = 0; i < N - 1; i++)
| ~~~
crocodile.cpp:39:20: error: 'i' was not declared in this scope
39 | for(int i = 0; i < N - 1; i++)
| ^