3 条题解
- 1
信息
- ID
- 21
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 3
- 标签
- 递交数
- 139
- 已通过
- 72
- 上传者
using namespace std;
int a,b,c,d,x,y;
int main(){
cin>>a>>b>>c>>d;
x=abs(a-c);
y=abs(d-b);
cout<<fixed<<setprecision(2)<<sqrt(x*x+y*y) << endl;
return 0;
}
组合拳奥!(两点距离公式有但我就不用( ̄ε(# ̄)☆╰╮o( ̄皿 ̄///))
呵呵~~~