小车问题
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.
题目描述
甲、乙两人同时从 A 地出发要尽快同时赶到 B 地。出发时 A 地有一辆小车,可是这辆小车除了驾驶员外只能带一人。已知甲、乙两人的步行速度一样,且小于车的速度。问:怎样利用小车才能使两人尽快同时到达。
输入格式
仅一行,三个实数,分别表示 AB 两地的距离 ,人的步行速度 ,车的速度 。
输出格式
两人同时到达 B 地需要的最短时间,保留 位小数。
120 5 25
9.600000
提示
数据规模与约定
对于 的数据,保证 。
B23信心竞速赛
- Status
- Done
- Rule
- Ledo
- Problem
- 8
- Start at
- 2024-10-25 18:30
- End at
- 2024-10-25 20:30
- Duration
- 2 hour(s)
- Host
- Partic.
- 18