#include<stdio.h>
#include<math.h>
int main()
{
double x1,y1,x2,y2;
double s,h;
while(scanf("%lf%lf%lf%lf\n",&x1,&y1,&x2,&y2)!=EOF)
{
h=(x1-x2)*(x1-x2)+(y1-y2)*(y1-y2);
s=sqrt(h);
printf("%.2f\n",s);
}
return 0;
}
1084
最新推荐文章于 2022-04-14 10:41:43 发布