horses.cpp:18:16: error: 'maxn' was not declared in this scope
18 | vector<ll> X(5*maxn), Y(maxn);
| ^~~~
horses.cpp:18:25: error: 'maxn' was not declared in this scope
18 | vector<ll> X(5*maxn), Y(maxn);
| ^~~~
horses.cpp:29:4: error: ambiguating new declaration of 'll init(int, int*, int*)'
29 | ll 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:35:4: error: ambiguating new declaration of 'll updateX(int, int)'
35 | ll updateX(int p, int v) {
| ^~~~~~~
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:40:4: error: ambiguating new declaration of 'll updateY(int, int)'
40 | ll updateY(int p, int v) {
| ^~~~~~~
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);
| ^~~~~~~