horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:23:12: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
23 | return ans;
| ^~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:29:17: warning: conversion from 'std::vector<long long int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
29 | int n=x.size();
| ~~~~~~^~
horses.cpp:35:12: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
35 | return ans;
| ^~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:42:17: warning: conversion from 'std::vector<long long int>::size_type' {aka 'long unsigned int'} to 'int' may change value [-Wconversion]
42 | int n=x.size();
| ~~~~~~^~
horses.cpp:49:12: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
49 | return ans;
| ^~~