double 快读
typedef double dbl;
dbl read()
{
dbl x=0,t=0;int s=0,f=1;chr c;
do c=getchar();while((c<'0'||c>'9')&&c!='-'&&c!='.');
if(c=='-')f=-1,c=getchar();
while(c>='0'&&c<='9'&&c!='.')x=c-'0'+x*10,c=getchar();
if(c=='.')c=getchar();else return x*f;
while(c>='0'&&c<='9')t=t*10+c-'0',++s,c=getchar();
while(s--)t/=10;return(x+t)*f;
}