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:18: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:39: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:44: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:49:16: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return slov();
~~~~^~