horses.cpp: In function 'void bu(ll, ll, ll, ll)':
horses.cpp:29:35: warning: declaration of 'k' shadows a global declaration [-Wshadow]
void bu(ll d, ll k, ll bas, ll son){
^
horses.cpp:19:7: note: shadowed declaration is here
ll n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp: In function 'void up(ll, ll, ll, ll, ll, ll)':
horses.cpp:39:47: warning: declaration of 'y' shadows a global declaration [-Wshadow]
void up(ll d, ll k, ll bas, ll son, ll x, ll y){
^
horses.cpp:19:23: note: shadowed declaration is here
ll n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp:39:47: warning: declaration of 'x' shadows a global declaration [-Wshadow]
void up(ll d, ll k, ll bas, ll son, ll x, ll y){
^
horses.cpp:19:14: note: shadowed declaration is here
ll n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp:39:47: warning: declaration of 'k' shadows a global declaration [-Wshadow]
void up(ll d, ll k, ll bas, ll son, ll x, ll y){
^
horses.cpp:19:7: note: shadowed declaration is here
ll n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp: In function 'll qu(ll, ll, ll, ll, ll, ll)':
horses.cpp:51:45: warning: declaration of 'y' shadows a global declaration [-Wshadow]
ll qu(ll d, ll k, ll bas, ll son, ll x, ll y){
^
horses.cpp:19:23: note: shadowed declaration is here
ll n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp:51:45: warning: declaration of 'x' shadows a global declaration [-Wshadow]
ll qu(ll d, ll k, ll bas, ll son, ll x, ll y){
^
horses.cpp:19:14: note: shadowed declaration is here
ll n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp:51:45: warning: declaration of 'k' shadows a global declaration [-Wshadow]
ll qu(ll d, ll k, ll bas, ll son, ll x, ll y){
^
horses.cpp:19:7: note: shadowed declaration is here
ll n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:101:16: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
return ansbul();
~~~~~~^~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:110:16: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
return ansbul();
~~~~~~^~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:115:16: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
return ansbul();
~~~~~~^~