#T0605. 「函数」按公式求值
「函数」按公式求值
【问题描述】
定义 为三个整数中的最大值。输入 ,计算:
$m=\frac{\operatorname{maxx}(a,b,c)}{\operatorname{maxx}(a+b,b,c) \cdot \operatorname{maxx}(a,b,b+c)}$
【输入格式】
输入三个整数 ,满足 。
【输出格式】
输出 ,固定保留三位小数。
【样例输入】
1 2 3
【样例输出】
0.200
定义 operatornamemaxx(a,b,c) 为三个整数中的最大值。输入 a,b,c,计算:
$m=\frac{\operatorname{maxx}(a,b,c)}{\operatorname{maxx}(a+b,b,c) \cdot \operatorname{maxx}(a,b,b+c)}$
输入三个整数 a,b,c,满足 1lea,b,cle10000。
输出 m,固定保留三位小数。
1 2 3
0.200