#include
#include
#include <string.h>
#include <math.h>
using namespace std;
int main(){
double x1,x2,y1,y2;
while(scanf("%lf %lf %lf %lf",&x1,&x2,&y1,&y2)!=EOF){
double dis=sqrt((y1-x1)(y1-x1)+(y2-x2)(y2-x2));
printf("%.2f\n",dis);
}
return 0;
}
hods2001 实数double 输入lf 输出f
最新推荐文章于 2022-09-14 21:43:44 发布