/in/foo.cc: In function 'int find(int, int, int)':
/in/foo.cc:16:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=L+R>>1;
~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:34:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (New<=n) s[++tail].l=New; s[tail].r=n; s[tail].p=i;
^~
/in/foo.cc:34:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (New<=n) s[++tail].l=New; s[tail].r=n; s[tail].p=i;
^