#B2616. Chasing Run

    ID: 11255 Type: Default 1000ms 256MiB

Chasing Run

Chasing Run

In this problem, two runners start at the same time. Runner A has a speed of 5 m/s, and Runner B has a speed of 8 m/s. Runner B starts 100 m behind Runner A. Your task is to determine the time (in seconds) it takes for Runner B to catch up with Runner A.

Using the formula below, you can calculate the required time:

$$ t = \frac{100}{8-5} = \frac{100}{3} \text{ seconds} $$

Output a single number representing the answer. In C++ solutions, please use cout to output the result.

inputFormat

This problem does not require any input.

outputFormat

Output a single number that represents the time (in seconds) after which Runner B catches up with Runner A. The answer should be printed with a precision of at least 6 decimal places.

sample

33.333333