crocodile.cpp:11:4: error: ambiguating new declaration of 'long long int travel_plan(int, int, int (*)[2], int*, int, int*)'
11 | ll travel_plan(int n, int m, int R[][2], int L[], int K, int P[])
| ^~~~~~~~~~~
In file included from crocodile.cpp:1:
crocodile.h:1:5: note: old declaration 'int travel_plan(int, int, int (*)[2], int*, int, int*)'
1 | int travel_plan(int N, int M, int R[][2], int L[], int K, int P[]);
| ^~~~~~~~~~~
crocodile.cpp: In function 'long long int travel_plan(int, int, int (*)[2], int*, int, int*)':
crocodile.cpp:28:21: error: 'k' was not declared in this scope
28 | for(int i = 0; i < k; i++)
| ^
crocodile.cpp:39:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int i = 0; i < grafo[cur].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~