How far away from our friends?

Input

The input will be a sequence of friends with their distance and the mean speed, ending with a dot.

Output

The output of the program is the list of friends and the time it takes for the message to arrive to them, ordered from shortest to longest.

Problem information

Author: HP CodeWars

Generation: 2026-01-25T15:53:29.303Z

© Jutge.org, 2006–2026.
https://jutge.org