#C6604. Marathon Completion Percentage

    ID: 50383 Type: Default 1000ms 256MiB

Marathon Completion Percentage

Marathon Completion Percentage

In this problem, you are given three integers: N (the total number of laps), L (the distance of each lap in meters), and D (the actual distance run by the athlete in meters). You are required to calculate the percentage of the marathon completed by the runner. The marathon's total distance is given by \(N \times L\) meters. The completion percentage is computed as \(\frac{D}{N \times L} \times 100\), and the answer must be rounded to two decimal places.

Note: The input will be read from standard input (stdin) and the output should be written to standard output (stdout).

inputFormat

The input consists of a single line containing three space-separated integers N, L, and D.

  • N: Total number of laps (1 ≤ N)
  • L: Distance of each lap in meters (1 ≤ L)
  • D: Actual distance run in meters (0 ≤ D)

outputFormat

Output the percentage of the marathon completed, rounded to two decimal places.

## sample
10 400 4000
100.00