horses.cpp: In function 'void del(int)':
horses.cpp:114:26: warning: unused variable 'R' [-Wunused-variable]
int L = it->fi , R = it->se;
^
horses.cpp: In function 'll check(int, int, int, int, int)':
horses.cpp:118:16: warning: unused parameter 'x' [-Wunused-parameter]
ll check ( int x,int y,int z,int l, int r ){
^
horses.cpp:118:22: warning: unused parameter 'y' [-Wunused-parameter]
ll check ( int x,int y,int z,int l, int r ){
^
horses.cpp:118:28: warning: unused parameter 'z' [-Wunused-parameter]
ll check ( int x,int y,int z,int l, int r ){
^
horses.cpp: In function 'll queryX(int, int, int, int, int)':
horses.cpp:123:15: warning: unused parameter 'x' [-Wunused-parameter]
ll queryX(int x,int y,int z,int l,int r){
^
horses.cpp:123:21: warning: unused parameter 'y' [-Wunused-parameter]
ll queryX(int x,int y,int z,int l,int r){
^
horses.cpp:123:27: warning: unused parameter 'z' [-Wunused-parameter]
ll queryX(int x,int y,int z,int l,int r){
^
horses.cpp: In function 'll solve()':
horses.cpp:137:34: error: too few arguments to function 'll check(int, int, int, int, int)'
if ( check(u.fi , u.se ) ){
^
horses.cpp:118:4: note: declared here
ll check ( int x,int y,int z,int l, int r ){
^~~~~
horses.cpp:145:37: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
crnt *= queryX(1,0,n-1,l,r);
~^~
horses.cpp:157:38: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
ll A = queryX ( 1,0,n-1 , l, r);
~^~
horses.cpp:158:50: error: too many arguments to function 'll RMQX(int, int)'
ll COST = RMQX ( 1,0,n-1 , l, r);
^
horses.cpp:128:4: note: declared here
ll RMQX(int l,int r){
^~~~
horses.cpp:162:25: warning: conversion to 'double' from 'll {aka long long int}' may alter its value [-Wconversion]
if ( crnt > 2e9 || crnt == 0) while(1){}
^~~
horses.cpp:166:34: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
ans *= queryX ( 1 , 0 , n-1 , 0 , ST-1 ) ;
~^~
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:175:23: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
buildRMQ(1,0,n-1);
~^~
horses.cpp:177:21: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
return solve();
~~~~~^~
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:184:21: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
return solve();
~~~~~^~
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:188:21: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
updRMQ(1,0,n-1,pos);
~^~
horses.cpp:189:21: warning: conversion to 'int' from 'll {aka long long int}' may alter its value [-Wconversion]
return solve();
~~~~~^~