小车问题
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 两地的距离 ,人的步行速度 ,车的速度 。
Output Format
两人同时到达 B 地需要的最短时间,保留$2$位小数。
120 5 25
9.60
Hint
对于 的数据,保证 。
2025_07_02吉利学院暑假实训周-上机实践-3
- Status
- Done
- Rule
- XCPC
- Problem
- 7
- Start at
- 2025-7-3 14:00
- End at
- 2025-7-3 17:00
- Duration
- 3 hour(s)
- Host
- Partic.
- 26