horses.cpp:22:11: error: ambiguating new declaration of 'long long int init(int, int*, int*)'
22 | long long init(int N, int X[], int Y[]) {
| ^~~~
In file included from horses.cpp:2:
horses.h:4:5: note: old declaration 'int init(int, int*, int*)'
4 | int init(int N, int X[], int Y[]);
| ^~~~
horses.cpp:32:11: error: ambiguating new declaration of 'long long int updateX(int, int)'
32 | long long updateX(int pos, int val) {
| ^~~~~~~
In file included from horses.cpp:2:
horses.h:5:5: note: old declaration 'int updateX(int, int)'
5 | int updateX(int pos, int val);
| ^~~~~~~
horses.cpp:38:11: error: ambiguating new declaration of 'long long int updateY(int, int)'
38 | long long updateY(int pos, int val) {
| ^~~~~~~
In file included from horses.cpp:2:
horses.h:6:5: note: old declaration 'int updateY(int, int)'
6 | int updateY(int pos, int val);
| ^~~~~~~