shymbulak.cpp: In function 'pp qry(int, int, int, int, int)':
shymbulak.cpp:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl + tr >> 1)
~~~^~~
shymbulak.cpp:6:20: note: in expansion of macro 'tm'
#define sol v+v,tl,tm,l,r
^~
shymbulak.cpp:32:21: note: in expansion of macro 'sol'
return mrg( qry(sol) , qry(sag) );
^~~
shymbulak.cpp:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl + tr >> 1)
~~~^~~
shymbulak.cpp:7:19: note: in expansion of macro 'tm'
#define sag v+v+1,tm+1,tr,l,r
^~
shymbulak.cpp:32:32: note: in expansion of macro 'sag'
return mrg( qry(sol) , qry(sag) );
^~~
shymbulak.cpp: In function 'pp bld(int, int, int, int, int)':
shymbulak.cpp:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl + tr >> 1)
~~~^~~
shymbulak.cpp:6:20: note: in expansion of macro 'tm'
#define sol v+v,tl,tm,l,r
^~
shymbulak.cpp:36:28: note: in expansion of macro 'sol'
return s[v] = mrg( bld(sol) , bld(sag) );
^~~
shymbulak.cpp:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define tm (tl + tr >> 1)
~~~^~~
shymbulak.cpp:7:19: note: in expansion of macro 'tm'
#define sag v+v+1,tm+1,tr,l,r
^~
shymbulak.cpp:36:39: note: in expansion of macro 'sag'
return s[v] = mrg( bld(sol) , bld(sag) );
^~~
shymbulak.cpp: In function 'void f(int)':
shymbulak.cpp:56:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<V[x].size(); i++)
~^~~~~~~~~~~~
shymbulak.cpp: In function 'int main()':
shymbulak.cpp:73:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<V[x].size();j++){
~^~~~~~~~~~~~
shymbulak.cpp:62:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
~~~~~^~~~~~~~~~~
shymbulak.cpp:64:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&x,&y);
~~~~~^~~~~~~~~~~~~~~~~~