horses.cpp: In function 'void build(long long int, long long int, long long int)':
horses.cpp:11:5: warning: declaration of 'md' shadows a global declaration [-Wshadow]
11 | ll md=(st+ed)/2;
| ^~
horses.cpp:7:26: note: shadowed declaration is here
7 | ll n,x[500005],y[500005],md=1e9+7,nw,fight,nn=0;
| ^~
horses.cpp: In function 'void update(long long int, long long int, long long int, long long int, long long int)':
horses.cpp:33:43: warning: declaration of 'val' shadows a global declaration [-Wshadow]
33 | void update(ll tree,ll st,ll ed,ll idx,ll val)
| ^
horses.cpp:8:17: note: shadowed declaration is here
8 | ll seg[2000005],val,str,ans,last,mul[2000005],big;
| ^~~
horses.cpp:35:5: warning: declaration of 'md' shadows a global declaration [-Wshadow]
35 | ll md=(st+ed)/2;
| ^~
horses.cpp:7:26: note: shadowed declaration is here
7 | ll n,x[500005],y[500005],md=1e9+7,nw,fight,nn=0;
| ^~
horses.cpp: In function 'long long int query(long long int, long long int, long long int, long long int, long long int)':
horses.cpp:64:5: warning: declaration of 'md' shadows a global declaration [-Wshadow]
64 | ll md=(st+ed)/2;
| ^~
horses.cpp:7:26: note: shadowed declaration is here
7 | ll n,x[500005],y[500005],md=1e9+7,nw,fight,nn=0;
| ^~
horses.cpp: In function 'long long int query2(long long int, long long int, long long int, long long int, long long int)':
horses.cpp:71:5: warning: declaration of 'md' shadows a global declaration [-Wshadow]
71 | ll md=(st+ed)/2;
| ^~
horses.cpp:7:26: note: shadowed declaration is here
7 | ll n,x[500005],y[500005],md=1e9+7,nw,fight,nn=0;
| ^~
horses.cpp: In function 'long long int solve()':
horses.cpp:92:6: warning: conversion from 'long long int' to 'double' may change value [-Wconversion]
92 | if(str>1e9)
| ^~~
horses.cpp:118:5: warning: conversion from 'long long int' to 'double' may change value [-Wconversion]
118 | if(str>1e9)
| ^~~
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:157:14: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
157 | return solve();
| ~~~~~^~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:160:26: warning: declaration of 'val' shadows a global declaration [-Wshadow]
160 | int updateX(int pos, int val) {
| ~~~~^~~
horses.cpp:8:17: note: shadowed declaration is here
8 | ll seg[2000005],val,str,ans,last,mul[2000005],big;
| ^~~
horses.cpp:185:14: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
185 | return solve();
| ~~~~~^~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:188:26: warning: declaration of 'val' shadows a global declaration [-Wshadow]
188 | int updateY(int pos, int val) {
| ~~~~^~~
horses.cpp:8:17: note: shadowed declaration is here
8 | ll seg[2000005],val,str,ans,last,mul[2000005],big;
| ^~~
horses.cpp:193:14: warning: conversion from 'long long int' to 'int' may change value [-Wconversion]
193 | return solve();
| ~~~~~^~