1 条题解

  • 0
    @ 2025-12-13 10:26:23

    #include<bits/stdc++.h> using namespace std; int main() { double xa, ya, xb, yb; cin >> xa >> ya; cin >> xb >> yb; double dx = xa - xb; double dy = ya - yb; double length = sqrt(dx * dx + dy * dy); cout << fixed << setprecision(3) << length << endl; return 0; }

    • 1

    信息

    ID
    175
    时间
    1000ms
    内存
    128MiB
    难度
    7
    标签
    递交数
    22
    已通过
    9
    上传者