horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:8:9: warning: unused variable 'mod' [-Wunused-variable]
8 | int mod = 1e9 + 7;
| ^~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:16:17: warning: unused parameter 'pos' [-Wunused-parameter]
16 | int updateX(int pos, int val) {
| ~~~~^~~
horses.cpp:16:26: warning: unused parameter 'val' [-Wunused-parameter]
16 | int updateX(int pos, int val) {
| ~~~~^~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:21:17: warning: unused parameter 'pos' [-Wunused-parameter]
21 | int updateY(int pos, int val) {
| ~~~~^~~
horses.cpp:21:26: warning: unused parameter 'val' [-Wunused-parameter]
21 | int updateY(int pos, int val) {
| ~~~~^~~