hct_ @ 2022-11-25 10:51:26
#include <bits/stdc++.h>
using namespace std;
int main(){
double x1,x2,y1,y2,z1,z2;
cin >>x1>>x2>>y1>>y2>>z1>>z2;
cout <<fixed << setprecision(2)<<sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2))+sqrt((x1-x2)*(x1-x2)+(z1-z2)*(z1-z2))+sqrt((z1-z2)*(z1-z2)+(y1-y2)*(y1-y2));
return 0;
}
by hct_ @ 2022-11-25 10:52:48
样例是对的啊,怎么回事?
by hct_ @ 2022-11-25 10:57:00
@AC_CSP 不太清楚
by hct_ @ 2022-11-25 11:01:32
谢谢,每日眼瞎(