foo.cc: In function 'void solve(int, int)':
foo.cc:30:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
30 | int mid=l+r>>1,k1=l-1,k2=mid,kk;
| ~^~
foo.cc: In function 'int main()':
foo.cc:55:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
55 | scanf("%d %lf",&n,&f[0]);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:57:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
57 | scanf("%lf %lf %lf",&s[i].a,&s[i].b,&s[i].r);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务