crocodile.cpp: In function 'void bfs(std::vector<std::vector<node> >&, std::vector<int>&)':
crocodile.cpp:6:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | #define forn(i,n) for (int i=0; i<n; i++)
......
34 | forn(i,adj[v].size()) {
| ~~~~~~~~~~~~~~~
crocodile.cpp:34:13: note: in expansion of macro 'forn'
34 | forn(i,adj[v].size()) {
| ^~~~
crocodile.cpp: In function 'int travel_plan(int, int, int (*)[2], int*, int, int*)':
crocodile.cpp:6:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | #define forn(i,n) for (int i=0; i<n; i++)
......
63 | forn(j,adj[i].size()) {
| ~~~~~~~~~~~~~~~
crocodile.cpp:63:9: note: in expansion of macro 'forn'
63 | forn(j,adj[i].size()) {
| ^~~~