crocodile.cpp: In function 'long long int travel_plan(int, int, int (*)[2], int*, int, int*)':
crocodile.cpp:14:11: error: ambiguating new declaration of 'long long int travel_plan(int, int, int (*)[2], int*, int, int*)'
long long travel_plan( int n, int m, int r[][2], int l[], int k, int p[] )
^~~~~~~~~~~
In file included from crocodile.cpp:2:0:
crocodile.h:1:5: note: old declaration 'int travel_plan(int, int, int (*)[2], int*, int, int*)'
int travel_plan(int N, int M, int R[][2], int L[], int K, int P[]);
^~~~~~~~~~~
crocodile.cpp:33:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^