题解:P16349 「Gensokyo OI Round 1」坊巷逸闻
jsc_want_AK_IOI · · 题解
解题思路
已知梯形
#include <bits/stdc++.h>
using namespace std;
int main()
{
long long a, b, c;
scanf("%lld %lld %lld", &a, &b, &c);
double ans = (double)(a * c) / (b + c);
printf("%.9f\n", ans);
return 0;
}
::::