/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:10:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&t[k]);
^
/in/foo.cc:13:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1,ls=k<<1,rs=ls|1;
~^~
/in/foo.cc: In function 'void add(int, int, int, int, int, int)':
/in/foo.cc:28:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1,ls=k<<1,rs=ls|1;
~^~
/in/foo.cc: In function 'long long int big(int, int, int, int, int)':
/in/foo.cc:36:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1,ls=k<<1,rs=ls|1;
~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:52:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
scanf("%d%d%d",&l,&r,&c);
^