horses.cpp: In constructor 'segtree::node::node(ll, ll)':
horses.cpp:19:16: warning: declaration of 'y' shadows a member of 'segtree::node' [-Wshadow]
19 | node(ll x,ll y):x(x),y(y),pre(x),suf(1),all(x),ans(x*y%mod){}
| ~~~^
horses.cpp:17:8: note: shadowed declaration is here
17 | ll x,y,pre,suf,all,ans;
| ^
horses.cpp:19:11: warning: declaration of 'x' shadows a member of 'segtree::node' [-Wshadow]
19 | node(ll x,ll y):x(x),y(y),pre(x),suf(1),all(x),ans(x*y%mod){}
| ~~~^
horses.cpp:17:6: note: shadowed declaration is here
17 | ll x,y,pre,suf,all,ans;
| ^
horses.cpp: In constructor 'segtree::node::node(ll, ll)':
horses.cpp:19:16: warning: declaration of 'y' shadows a member of 'segtree::node' [-Wshadow]
19 | node(ll x,ll y):x(x),y(y),pre(x),suf(1),all(x),ans(x*y%mod){}
| ~~~^
horses.cpp:17:8: note: shadowed declaration is here
17 | ll x,y,pre,suf,all,ans;
| ^
horses.cpp:19:11: warning: declaration of 'x' shadows a member of 'segtree::node' [-Wshadow]
19 | node(ll x,ll y):x(x),y(y),pre(x),suf(1),all(x),ans(x*y%mod){}
| ~~~^
horses.cpp:17:6: note: shadowed declaration is here
17 | ll x,y,pre,suf,all,ans;
| ^
horses.cpp: In constructor 'segtree::node::node(ll, ll)':
horses.cpp:19:16: warning: declaration of 'y' shadows a member of 'segtree::node' [-Wshadow]
19 | node(ll x,ll y):x(x),y(y),pre(x),suf(1),all(x),ans(x*y%mod){}
| ~~~^
horses.cpp:17:8: note: shadowed declaration is here
17 | ll x,y,pre,suf,all,ans;
| ^
horses.cpp:19:11: warning: declaration of 'x' shadows a member of 'segtree::node' [-Wshadow]
19 | node(ll x,ll y):x(x),y(y),pre(x),suf(1),all(x),ans(x*y%mod){}
| ~~~^
horses.cpp:17:6: note: shadowed declaration is here
17 | ll x,y,pre,suf,all,ans;
| ^
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:65:16: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
65 | return s.t[1].ans;
| ~~~~~~~^~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:72:16: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
72 | return s.t[1].ans;
| ~~~~~~~^~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:79:16: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
79 | return s.t[1].ans;
| ~~~~~~~^~~