horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:10:9: warning: declaration of 'ho' shadows a global declaration [-Wshadow]
int ho;
^~
horses.cpp:6:15: note: shadowed declaration is here
long long ans,ho;
^~
horses.cpp:17:12: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return ans%bigint;
~~~^~~~~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:27:12: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return ans%bigint;
~~~^~~~~~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:37:12: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return ans%bigint;
~~~^~~~~~~