#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
int main()
{
    double x1,x2,y1,y2,s;
    while(scanf("%lf%lf%lf%lf",&x1,&y1,&x2,&y2)!=EOF)
    {
         s=sqrt(((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)));
         printf("%.2lf\n",s);
    }
   // system("pause");
    return 0;
}

相关文章:

  • 2021-10-24
  • 2021-04-11
  • 2021-04-06
  • 2021-04-17
  • 2021-11-16
  • 2021-08-08
  • 2022-02-22
  • 2021-06-08
猜你喜欢
  • 2021-08-04
  • 2021-08-16
  • 2021-04-16
  • 2021-04-26
  • 2021-06-26
  • 2021-06-01
  • 2021-07-23
相关资源
相似解决方案