horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:12:6: warning: unused variable 'a' [-Wunused-variable]
12 | int a=0;
| ^
horses.cpp:13:6: warning: unused variable 'y' [-Wunused-variable]
13 | int y=0;
| ^
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:26:17: warning: unused parameter 'pos' [-Wunused-parameter]
26 | int updateX(int pos, int val) {
| ~~~~^~~
horses.cpp:26:26: warning: unused parameter 'val' [-Wunused-parameter]
26 | int updateX(int pos, int val) {
| ~~~~^~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:30:17: warning: unused parameter 'pos' [-Wunused-parameter]
30 | int updateY(int pos, int val) {
| ~~~~^~~
horses.cpp:30:26: warning: unused parameter 'val' [-Wunused-parameter]
30 | int updateY(int pos, int val) {
| ~~~~^~~