您的位置首页百科知识 Output Limit Exceeded Simone 发布于 2023-06-20 16:52:44 582 阅读 #include #include int main(){ double x1,y1,x2,y2,dx,dy; while((scanf("毕滚%lf%lf%lf%lf"手卜余,&x1,&y1,&x2,&y2)!=EOF)) { dx=fabs(x1-x2); dy=fabs(y1-y2); dx=sqrt(dx*dx+dy*dy); printf("%.2lf\弊基n",dx); } return 0;}