Professional Documents
Culture Documents
Boating
Boating
Boating
Goal
Known that there is a boat rowing on a river and the river isn't static, also, the boat need to back
and forth for one times.
Input
Line 1: The full distance between the start and end.
Note that the given distance is in metres and the speed is in metres/minutes
Output
Line 1: The average speed of the boat back and forth rounded to 3 digits.
Constraints
No constraints.
Example
Input
100
30
20
Output
8.333