A. 小车问题

    Type: Default 1000ms 256MiB

小车问题

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

甲、乙两人同时从 A 地出发要尽快同时赶到 B 地。出发时 A 地有一辆小车,可是这辆小车除了驾驶员外只能带一人。已知甲、乙两人 的步行速度一样,且小于车的速度。问:怎样利用小车才能使两人尽快同时到达。

Input Format

仅一行,三个实数,分别表示 AB 两地的距离 ss,人的步行速度 aa,车的速度 bb

Output Format

两人同时到达 B 地需要的最短时间,保留$2$位小数。

120 5 25
9.60

Hint

对于 100%100\% 的数据,保证 0s,a,b1090 \leq s, a, b \leq 10^9