Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
129507 王影彤 两点间距离计算 C++ 解答错误 40 0 MS 248 KB 199 2024-01-27 08:45:10

Tests(2/5):


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


测评信息: