foo.cc: In function 'void write(int)':
foo.cc:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
12 | if (x > 9) write(x/10); putchar(x%10+'0');
| ^~
foo.cc:12:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
12 | if (x > 9) write(x/10); putchar(x%10+'0');
| ^~~~~~~
foo.cc: In function 'int main()':
foo.cc:58:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
58 | mid = l + r >> 1;
| ~~^~~
foo.cc:48:11: warning: unused variable 'j' [-Wunused-variable]
48 | int i,j,x,y,tot,p;
| ^
[Hydro](https://hydro.ac)提供评测服务