horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:21:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
21 | return mx;
| ^~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:27: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]
27 | for (ll i = 0; i<a.size(); i++){
| ~^~~~~~~~~
horses.cpp:32:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
32 | return mx;
| ^~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:38: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]
38 | for (ll i = 0; i<b.size(); i++){
| ~^~~~~~~~~
horses.cpp:43:9: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
43 | return mx;
| ^~