horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:101:9: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
101 | return ans;
| ^~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:129:9: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
129 | return ans;
| ^~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:152:9: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
152 | return ans;
| ^~~