/in/foo.cc: In function 'void Pushdown(int)':
/in/foo.cc:38:13: warning: operation on 'T[((k << 1) | 1)].Tree::lcb' may be undefined [-Wsequence-point]
T[rs].lcb = T[rs].lcb = T[rs].maxb = T[rs].siz;
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:45:13: warning: operation on 'T[((k << 1) | 1)].Tree::lca' may be undefined [-Wsequence-point]
T[rs].lca = T[rs].lca = T[rs].maxa = T[rs].sum = T[rs].siz;
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void Build(int, int, int)':
/in/foo.cc:98:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = l + r >> 1;
~~^~~
/in/foo.cc: In function 'void Update(int, int, int, int)':
/in/foo.cc:123:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = T[k].l + T[k].r >> 1;
~~~~~~~^~~~~~~~
/in/foo.cc: In function 'void Change(int, int, int)':
/in/foo.cc:155:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = T[k].l + T[k].r >> 1;
~~~~~~~^~~~~~~~
/in/foo.cc: In function 'int Query1(int, int, int)':
/in/foo.cc:165:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = T[k].l + T[k].r >> 1, res = 0;
~~~~~~~^~~~~~~~
/in/foo.cc: In function 'int Query2(int, int, int)':
/in/foo.cc:175:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = T[k].l + T[k].r >> 1, res = 0;
~~~~~~~^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:184:24: warning: unused variable 'mm' [-Wunused-variable]
read(n); read(m); int mm = m;
^~