Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129436 古浩圳bylz 两点间距离计算 C++ 解答错误 80 0 MS 256 KB 208 2024-01-27 08:31:51

Tests(4/5):


#include<iostream> #include<math.h> #include<cstdio> 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)); printf("%.0lf",s); return 0; }


测评信息: