3 条题解

  • 0
    @ 2026-3-31 16:59:42

    别抄代码!

    #include<bits/stdc++.h>
    #define int long long
    using namespace std;
    int a,b,c;
    double m(int a,int b,int c){
        return 1.0 * max(a,b,c) / (max(a+b,b,c) * max(a,b,b+c));
    }
    signed main(){
        ios::sync_with_stdio(0);
        cin.tie(0),cout.tie(0);
        cin>>a>>b>>c;
        cout<<fixed<<setprecision(3)<<m(a,b,c);
        return 0;
    }
    

    信息

    ID
    5631
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    58
    已通过
    31
    上传者