horses.cpp: In function 'long long int slov()':
horses.cpp:10:16: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
for(int i=n-1;i>=0;i--)
~^~
horses.cpp:17:15: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
for(int i=st;i<n;i++)
^~
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:38:16: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return slov();
~~~~^~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:43:16: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return slov();
~~~~^~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:48:16: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return slov();
~~~~^~