/in/foo.cc: In function 'void p(int)':
/in/foo.cc:12:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=]
printf("%d\n",&n);
^
/in/foo.cc: In function 'void al(int, int, int)':
/in/foo.cc:27:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In function 'void ar(int, int, int)':
/in/foo.cc:46:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In function 'int ql(int, int, int)':
/in/foo.cc:69:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~
/in/foo.cc: In function 'int qr(int, int, int)':
/in/foo.cc:87:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1;
~^~