horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:18:15: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
18 | return ans%md;
| ~~~^~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:21:17: warning: unused parameter 'i' [-Wunused-parameter]
21 | int updateX(int i, int x){
| ~~~~^
horses.cpp:21:24: warning: unused parameter 'x' [-Wunused-parameter]
21 | int updateX(int i, int x){
| ~~~~^
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:25:17: warning: unused parameter 'i' [-Wunused-parameter]
25 | int updateY(int i, int y){
| ~~~~^
horses.cpp:25:24: warning: unused parameter 'y' [-Wunused-parameter]
25 | int updateY(int i, int y){
| ~~~~^