crocodile.cpp: In function 'void bfs(std::vector<std::vector<node> >&, std::vector<int>&, 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++)
......
35 | forn(i,adj[v].size()) {
| ~~~~~~~~~~~~~~~
crocodile.cpp:35:13: note: in expansion of macro 'forn'
35 | 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++)
......
64 | forn(j,adj[i].size()) {
| ~~~~~~~~~~~~~~~
crocodile.cpp:64:9: note: in expansion of macro 'forn'
64 | forn(j,adj[i].size()) {
| ^~~~