horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:19:15: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
19 | for(int i=st;i<n;i++)
| ^~
horses.cpp:29:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
29 | return ma;
| ^~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:37:15: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
37 | for(int i=st;i<n;i++)
| ^~
horses.cpp:47:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
47 | return ma;
| ^~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:56:15: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
56 | for(int i=st;i<n;i++)
| ^~
horses.cpp:66:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
66 | return ma;
| ^~