horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:16:13: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
16 | int st=n-30;
| ~^~~
horses.cpp:30:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
30 | return ma;
| ^~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:35:13: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
35 | int st=n-30;
| ~^~~
horses.cpp:49:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
49 | return ma;
| ^~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:55:13: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
55 | int st=n-30;
| ~^~~
horses.cpp:69:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
69 | return ma;
| ^~