horses.cpp: In function 'll cef(ll, ll)':
horses.cpp:25:15: 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:18: 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:11: note: shadowed declaration is here
33 | ll l, r, mid, val = 1, vm = 1;
| ^
horses.cpp:35:12: 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:8: 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:18: 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:11: note: shadowed declaration is here
33 | ll l, r, mid, val = 1, vm = 1;
| ^
horses.cpp:35:12: 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:8: 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:18: 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:11: note: shadowed declaration is here
33 | ll l, r, mid, val = 1, vm = 1;
| ^
horses.cpp:35:12: 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:8: note: shadowed declaration is here
33 | ll l, r, mid, val = 1, vm = 1;
| ^
horses.cpp: In constructor 'smax::smax(int, int)':
horses.cpp:75:21: warning: declaration of 'r' shadows a member of 'smax' [-Wshadow]
75 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:73:12: note: shadowed declaration is here
73 | int l, r, mid;
| ^
horses.cpp:75:14: warning: declaration of 'l' shadows a member of 'smax' [-Wshadow]
75 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:73:9: note: shadowed declaration is here
73 | int l, r, mid;
| ^
horses.cpp: In constructor 'smax::smax(int, int)':
horses.cpp:75:21: warning: declaration of 'r' shadows a member of 'smax' [-Wshadow]
75 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:73:12: note: shadowed declaration is here
73 | int l, r, mid;
| ^
horses.cpp:75:14: warning: declaration of 'l' shadows a member of 'smax' [-Wshadow]
75 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:73:9: note: shadowed declaration is here
73 | int l, r, mid;
| ^
horses.cpp: In constructor 'smax::smax(int, int)':
horses.cpp:75:21: warning: declaration of 'r' shadows a member of 'smax' [-Wshadow]
75 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:73:12: note: shadowed declaration is here
73 | int l, r, mid;
| ^
horses.cpp:75:14: warning: declaration of 'l' shadows a member of 'smax' [-Wshadow]
75 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:73:9: note: shadowed declaration is here
73 | int l, r, mid;
| ^
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:137:19: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
137 | segy->upd(i, y[i]);
| ^
horses.cpp:139:23: warning: conversion from 'll' {aka 'long long int'} to 'std::set<int>::value_type' {aka 'int'} may change value [-Wconversion]
139 | wx.insert(i);
| ^
horses.cpp:145:16: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
145 | return ans.second;
| ~~~~^~~~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:161:16: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
161 | return ans.second;
| ~~~~^~~~~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:168:16: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
168 | return ans.second;
| ~~~~^~~~~~