horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:21:11: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return mx%1000000007;
~~^~~~~~~~~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:38:11: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return mx%1000000007;
~~^~~~~~~~~~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:43:11: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return mx%1000000007;
~~^~~~~~~~~~~