horses.cpp: In function 'void updateRet()':
horses.cpp:39:6: warning: conversion from 'long long int' to 'double' may change value [-Wconversion]
39 | if(current > 1e9){
| ^~~~~~~
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:61:13: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
61 | return maxV%mod;
| ~~~~^~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:65:30: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
65 | multiplicar(pos + 1, fastExp(x[pos], mod-2));
| ~~~~~~~^~~~~~~~~~~~~~~
horses.cpp:67:29: warning: conversion from '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type' {aka 'long long int'} to 'int' may change value [-Wconversion]
67 | multiplicar(pos + 1, x[pos]);
| ^
horses.cpp:69:13: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
69 | return maxV%mod;
| ~~~~^~~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:75:13: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
75 | return maxV%mod;
| ~~~~^~~~