1152:最大数max(x,y,z)

#include <bits/stdc++.h>
using namespace std;

double max3(double a,double b,double c){
    if(a>=b&&a>=c) return a;
    else{
        if(b>=c) return b;
        else return c;
    }
}
int main()//程序的主入口 主函数
{
    double a,b,c;
    cin>>a>>b>>c;
    double m=max3(a,b,c)/(max3(a+b,b,c)*max3(a,b,b+c));
    cout<<fixed<<setprecision(3)<<m;
    return 0;
}