Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129489 古浩圳bylz 两点间距离计算 C++ 通过 100 0 MS 244 KB 184 2024-01-27 08:41:43

Tests(5/5):


#include<iostream> #include<math.h> using namespace std; int main(){ double a,b,c,d,s,e,f; cin>>a>>b>>c>>d; s=sqrt((a-c)*(a-c)+(b-d)*(b-d)); cout<<int(s); return 0; }


测评信息: