题解
2023-06-25 15:24:43
发布于:上海
64阅读
0回复
1点赞
#include <iostream>
#include <iomanip>
using namespace std;
int f(int a,int b,int c)
{
double m=max(max(a,b),c);
double n=max(max(a+b,b),c)*max(max(a,b),c+b);
m=m/n;
cout<<fixed<<setprecision(2)<<m;
}
double x,y,z;
int main()
{
cin>>x>>y>>z;
f(x,y,z);
return 0;
}
这里空空如也
有帮助,赞一个