Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129619 邓庆凯 两点间距离计算 C++ 解答错误 40 0 MS 244 KB 191 2024-01-27 09:10:27

Tests(2/5):


#include<bits/stdc++.h> using namespace std; int main(){ double x1,x2,y1,y2,ans; cin>>x1>>x2>>y1>>y2; ans=sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)); cout<<int(ans)<<endl; return 0; }


测评信息: