horses.cpp: In function 'll cef(ll, ll)':
horses.cpp:25:12: warning: conversion from 'll' {aka 'long long int'} to 'double' may change value [-Wconversion]
25 | if (ll(a) * ll(b) >= 1e9)
| ~~~~~~^~~~~~~
horses.cpp: In constructor 'seg::seg(ll, ll)':
horses.cpp:35:15: warning: declaration of 'r' shadows a member of 'seg' [-Wshadow]
35 | seg(ll l, ll r): l(l), r(r), mid((l + r) / 2) {
| ~~~^
horses.cpp:33:8: note: shadowed declaration is here
33 | ll l, r, mid, val=1,vm=1;
| ^
horses.cpp:35:9: warning: declaration of 'l' shadows a member of 'seg' [-Wshadow]
35 | seg(ll l, ll r): l(l), r(r), mid((l + r) / 2) {
| ~~~^
horses.cpp:33:5: note: shadowed declaration is here
33 | ll l, r, mid, val=1,vm=1;
| ^
horses.cpp: In constructor 'seg::seg(ll, ll)':
horses.cpp:35:15: warning: declaration of 'r' shadows a member of 'seg' [-Wshadow]
35 | seg(ll l, ll r): l(l), r(r), mid((l + r) / 2) {
| ~~~^
horses.cpp:33:8: note: shadowed declaration is here
33 | ll l, r, mid, val=1,vm=1;
| ^
horses.cpp:35:9: warning: declaration of 'l' shadows a member of 'seg' [-Wshadow]
35 | seg(ll l, ll r): l(l), r(r), mid((l + r) / 2) {
| ~~~^
horses.cpp:33:5: note: shadowed declaration is here
33 | ll l, r, mid, val=1,vm=1;
| ^
horses.cpp: In constructor 'seg::seg(ll, ll)':
horses.cpp:35:15: warning: declaration of 'r' shadows a member of 'seg' [-Wshadow]
35 | seg(ll l, ll r): l(l), r(r), mid((l + r) / 2) {
| ~~~^
horses.cpp:33:8: note: shadowed declaration is here
33 | ll l, r, mid, val=1,vm=1;
| ^
horses.cpp:35:9: warning: declaration of 'l' shadows a member of 'seg' [-Wshadow]
35 | seg(ll l, ll r): l(l), r(r), mid((l + r) / 2) {
| ~~~^
horses.cpp:33:5: note: shadowed declaration is here
33 | ll l, r, mid, val=1,vm=1;
| ^
horses.cpp: In constructor 'smax::smax(int, int)':
horses.cpp:73:18: warning: declaration of 'r' shadows a member of 'smax' [-Wshadow]
73 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:71:9: note: shadowed declaration is here
71 | int l, r, mid;
| ^
horses.cpp:73:11: warning: declaration of 'l' shadows a member of 'smax' [-Wshadow]
73 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:71:6: note: shadowed declaration is here
71 | int l, r, mid;
| ^
horses.cpp: In constructor 'smax::smax(int, int)':
horses.cpp:73:18: warning: declaration of 'r' shadows a member of 'smax' [-Wshadow]
73 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:71:9: note: shadowed declaration is here
71 | int l, r, mid;
| ^
horses.cpp:73:11: warning: declaration of 'l' shadows a member of 'smax' [-Wshadow]
73 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:71:6: note: shadowed declaration is here
71 | int l, r, mid;
| ^
horses.cpp: In constructor 'smax::smax(int, int)':
horses.cpp:73:18: warning: declaration of 'r' shadows a member of 'smax' [-Wshadow]
73 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:71:9: note: shadowed declaration is here
71 | int l, r, mid;
| ^
horses.cpp:73:11: warning: declaration of 'l' shadows a member of 'smax' [-Wshadow]
73 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:71:6: note: shadowed declaration is here
71 | int l, r, mid;
| ^
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:114:13: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
114 | segy->upd(i, y[i]);
| ^
horses.cpp:116:14: warning: conversion from 'll' {aka 'long long int'} to 'std::set<int>::value_type' {aka 'int'} may change value [-Wconversion]
116 | wx.insert(i);
| ^
horses.cpp:137:13: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
137 | return ans.second;
| ~~~~^~~~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:168:13: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
168 | return ans.second;
| ~~~~^~~~~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:190:13: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
190 | return ans.second;
| ~~~~^~~~~~