horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:22:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
22 | return mx;
| ^~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:28:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for (ll i = 0; i<a.size(); i++){
| ~^~~~~~~~~
horses.cpp:34:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
34 | return mx;
| ^~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:40:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (ll i = 0; i<b.size(); i++){
| ~^~~~~~~~~
horses.cpp:46:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
46 | return mx;
| ^~