1 条题解

  • 2
    @ 2025-11-30 10:02:59
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        double x1,x2,y1,y2;
        cin>>x1>>y1>>x2>>y2;
        printf("%0.3lf",sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)));
        return 0;
    }
    
    • 1

    信息

    ID
    6887
    时间
    1000ms
    内存
    128MiB
    难度
    1
    标签
    递交数
    12
    已通过
    8
    上传者