1 #include<stdio.h> 2 #include<math.h> 3 int main() 4 { 5 double x1,x2,y1,y2; 6 while(~scanf("%lf%lf%lf%lf",&x1,&y1,&x2,&y2)) 7 printf("%.2lf\n",sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))); 8 return 0; 9 }