#801. 函数-最大值
函数-最大值
No testdata at current.
题目描述
$m = \frac{max(a,b,c)}{max(a+b,b,c)\times max(a,b,b+c)}$
之前我们学过两数最大值 但三数最大值怎么求? 本题需要你定义函数 int max(a,b,c)
三数 a,b,c 求 m
输入格式
输入 a,b,c()
输出格式
m 保留三位小数
题目样例
样例输入
1 2 3
样例输出
0.200
No testdata at current.
$m = \frac{max(a,b,c)}{max(a+b,b,c)\times max(a,b,b+c)}$
之前我们学过两数最大值 但三数最大值怎么求? 本题需要你定义函数 int max(a,b,c)
三数 a,b,c 求 m
输入 a,b,c(<=104)
m 保留三位小数
1 2 3
0.200
By signing up a 西蒙科教 universal account, you can submit code and join discussions in all online judging services provided by us.