#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
LL a, b, c;
double s = 0;
int main()
{
cin >> a >> b >> c;
s = max(a, max(b, c)) / (max(a + b, max(b, c))) * max(a, max(b, b + c));
printf("%.3f", s);
return 0;
}
Thanks! @root
共 1 条回复
麻烦站长root解释一下哦!谢谢!!! @root @CPP =)