1 条题解

  • 2
    @ 2022-9-17 20:36:00
    #include<bits/stdc++.h>
    using namespace std;
    long double q,w,e,r,t,y,u,i,o,p,d,f,g,h,j,k,l,z,x,c,v,b,n,m;
    string s;
    long long a[100000],as[100000],asd[100000];
    int main()
    {
    	cin>>x>>y>>z;
    	p=max(x,max(y,z));
    	q=max(x+y,max(y,z))*max(x,max(y,y+z));
    	cout<<fixed<<setprecision(3)<<p/q;
        return 0;
    }
    
    • 1

    信息

    ID
    6940
    时间
    1000ms
    内存
    128MiB
    难度
    1
    标签
    (无)
    递交数
    13
    已通过
    11
    上传者