简单
2023-03-17 15:01:39
发布于:江苏
28阅读
0回复
0点赞
#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;
}
这里空空如也
有帮助,赞一个