horses.cpp: In function 'int islem(int, int, int)':
horses.cpp:26:16: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion]
return 1ll*a*b%mod;
^
horses.cpp: In function 'void bu(int, int, int, int)':
horses.cpp:29:39: warning: declaration of 'k' shadows a global declaration [-Wshadow]
void bu(int d, int k, int bas, int son){
^
horses.cpp:19:8: note: shadowed declaration is here
int n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp: In function 'void up(int, int, int, int, int, int)':
horses.cpp:39:53: warning: declaration of 'y' shadows a global declaration [-Wshadow]
void up(int d, int k, int bas, int son, int x, int y){
^
horses.cpp:19:24: note: shadowed declaration is here
int n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp:39:53: warning: declaration of 'x' shadows a global declaration [-Wshadow]
void up(int d, int k, int bas, int son, int x, int y){
^
horses.cpp:19:15: note: shadowed declaration is here
int n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp:39:53: warning: declaration of 'k' shadows a global declaration [-Wshadow]
void up(int d, int k, int bas, int son, int x, int y){
^
horses.cpp:19:8: note: shadowed declaration is here
int n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp: In function 'int qu(int, int, int, int, int, int)':
horses.cpp:51:52: warning: declaration of 'y' shadows a global declaration [-Wshadow]
int qu(int d, int k, int bas, int son, int x, int y){
^
horses.cpp:19:24: note: shadowed declaration is here
int n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp:51:52: warning: declaration of 'x' shadows a global declaration [-Wshadow]
int qu(int d, int k, int bas, int son, int x, int y){
^
horses.cpp:19:15: note: shadowed declaration is here
int n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp:51:52: warning: declaration of 'k' shadows a global declaration [-Wshadow]
int qu(int d, int k, int bas, int son, int x, int y){
^
horses.cpp:19:8: note: shadowed declaration is here
int n, k, kk, x[MAXN], y[MAXN], z[MAXN], seg[2][4*MAXN];
^
horses.cpp: In function 'int ansbul()':
horses.cpp:81:21: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
return (mx%mod)*crp%mod;
^