Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129577 李少恒 两点间距离计算 C++ 通过 100 0 MS 240 KB 171 2024-01-27 08:59:52

Tests(5/5):


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


测评信息: