Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129566 凌嘉圻 两点间距离计算 C++ 通过 100 0 MS 256 KB 170 2024-01-27 08:56:25

Tests(5/5):


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


测评信息: