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:76:21: warning: declaration of 'r' shadows a member of 'smax' [-Wshadow]
76 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:74:12: note: shadowed declaration is here
74 | int l, r, mid;
| ^
horses.cpp:76:14: warning: declaration of 'l' shadows a member of 'smax' [-Wshadow]
76 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:74:9: note: shadowed declaration is here
74 | int l, r, mid;
| ^
horses.cpp: In constructor 'smax::smax(int, int)':
horses.cpp:76:21: warning: declaration of 'r' shadows a member of 'smax' [-Wshadow]
76 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:74:12: note: shadowed declaration is here
74 | int l, r, mid;
| ^
horses.cpp:76:14: warning: declaration of 'l' shadows a member of 'smax' [-Wshadow]
76 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:74:9: note: shadowed declaration is here
74 | int l, r, mid;
| ^
horses.cpp: In constructor 'smax::smax(int, int)':
horses.cpp:76:21: warning: declaration of 'r' shadows a member of 'smax' [-Wshadow]
76 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:74:12: note: shadowed declaration is here
74 | int l, r, mid;
| ^
horses.cpp:76:14: warning: declaration of 'l' shadows a member of 'smax' [-Wshadow]
76 | smax(int l, int r) : l(l), r(r), mid((l + r) / 2) {
| ~~~~^
horses.cpp:74:9: note: shadowed declaration is here
74 | int l, r, mid;
| ^
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:148:19: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
148 | segy->upd(i, y[i]);
| ^
horses.cpp:150:23: warning: conversion from 'll' {aka 'long long int'} to 'std::set<int>::value_type' {aka 'int'} may change value [-Wconversion]
150 | wx.insert(i);
| ^
horses.cpp:156:16: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
156 | return ans.second;
| ~~~~^~~~~~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:172:16: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
172 | return ans.second;
| ~~~~^~~~~~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:179:16: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
179 | return ans.second;
| ~~~~^~~~~~