alex0903 2023-12-30 17:00:08
int main(){ double x1,x2,y1,y2,y3,x3; cin>>x1>>y1>>x2>>y2>>x3>>y3; double AB=dis(x1 ,y1 , x2, y2); double AC=dis(x1 , y1 , x3, y3); double CB=dis(x3 ,y3 , x2, y2);
cout<<fixed<<setprecision(2)<<AB+AC+CB;
}