/in/foo.cc: In function 'long long int build(long long int, long long int)':
/in/foo.cc:61:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
long long mid=le+ri>>1;
~~^~~
/in/foo.cc: In function 'void zig(long long int)':
/in/foo.cc:86:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (f2)
^
/in/foo.cc: In function 'void zag(long long int)':
/in/foo.cc:96:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (f2)
^
/in/foo.cc: In function 'void splay(long long int)':
/in/foo.cc:119:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (f1)
^
/in/foo.cc: In function 'void calc(long long int, long long int)':
/in/foo.cc:177:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", sum[l[y]]);
^
/in/foo.cc: In function 'void print(long long int)':
/in/foo.cc:185:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d ", a[t]);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:247:38: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", f[root][2]);
^