/in/foo.cc: In function 'void pushdown(int)':
/in/foo.cc:62:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
flag2[t]=g[t]=0;
~~~~^~
/in/foo.cc: In function 'int build(int, int)':
/in/foo.cc:67:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=le+ri>>1, t=stack[cnt--];
~~^~~
/in/foo.cc:69:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
flag[t]=flag2[t]=g[t]=fa[t]=0;
~~~~^~~~~~~~
/in/foo.cc: In function 'void zig(int)':
/in/foo.cc:91:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (f2)
^
/in/foo.cc: In function 'void zag(int)':
/in/foo.cc:101:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (f2)
^
/in/foo.cc: In function 'void splay(int)':
/in/foo.cc:124:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (f1)
^
/in/foo.cc: In function 'void calc(int, int)':
/in/foo.cc:185:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'LL {aka long long int}' [-Wformat=]
printf("%d\n", sum[l[y]]);
^