horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:19:11: warning: conversion to 'int' from 'll {aka long long unsigned int}' may alter its value [-Wconversion]
return r=max(ma,r);
~^~~~~~~~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:26:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=pos;i<t;i++){
~^~
horses.cpp:31:11: warning: conversion to 'int' from 'll {aka long long unsigned int}' may alter its value [-Wconversion]
return r=max(ma,r);
~^~~~~~~~~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:38:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=pos;i<t;i++){
~^~
horses.cpp:43:11: warning: conversion to 'int' from 'll {aka long long unsigned int}' may alter its value [-Wconversion]
return r=max(ma,r);
~^~~~~~~~~~