/in/foo.cc: In function 'long long int build(long long int, long long int)':
/in/foo.cc:63: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:88: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:98: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:121: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:180: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:188: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:250:38: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", f[root][2]);
^