foo.cc: In function 'double dg(int, int)':
foo.cc:27:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
27 | int mid=l+r>>1,i,j,tot=0;
| ~^~
foo.cc: In function 'int main()':
foo.cc:45:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
45 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
foo.cc:47:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
47 | scanf("%d%d",&d[i].x,&d[i].y);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务