horses.cpp: In function 'void f(ll)':
horses.cpp:16:154: warning: conversion from 'long long int' to 'double' may change value [-Wconversion]
16 | st[xf]={{(((st[xf*2].F.F*st[xf*2].S.S)%mod)*st[xf*2+1].F.F)%mod, st[xf*2+1].F.S}, {(st[xf*2].S.F||(st[xf*2].S.S*st[xf*2+1].F.F*st[xf*2+1].F.S*st[xf*2].F.F)>=1e9), st[xf*2+1].S.S}};
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:41:38: warning: conversion from 'll' {aka 'long long int'} to 'double' may change value [-Wconversion]
41 | st[i+n]={{a[i], b[i]}, {(a[i]*b[i]>=1e9), 1}};
| ~~~~^~~~~
horses.cpp:43:16: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
43 | for(int i=n-1; i>0; i--){
| ~^~
horses.cpp:46:30: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
46 | return (st[1].F.F*st[1].F.S)%mod;
| ~~~~~~~~~~~~~~~~~~~~~^~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:51:42: warning: conversion from 'll' {aka 'long long int'} to 'double' may change value [-Wconversion]
51 | st[pos+n]={{a[pos], b[pos]}, {(a[pos]*b[pos]>=1e9), 1}};
| ~~~~~~^~~~~~~
horses.cpp:53:30: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
53 | return (st[1].F.F*st[1].F.S)%mod;
| ~~~~~~~~~~~~~~~~~~~~~^~~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:58:42: warning: conversion from 'll' {aka 'long long int'} to 'double' may change value [-Wconversion]
58 | st[pos+n]={{a[pos], b[pos]}, {(a[pos]*b[pos]>=1e9), 1}};
| ~~~~~~^~~~~~~
horses.cpp:60:30: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
60 | return (st[1].F.F*st[1].F.S)%mod;
| ~~~~~~~~~~~~~~~~~~~~~^~~~