Write a program that reads triples of natural numbers , and , and for each one computes and prints the result of for all fractions with denominator smaller than or equal to .
Input consists of several triples of natural numbers , and , such that and .
For each triple, print in a line the result of the sum with four digits after the decimal point.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T11:52:16.876Z
© Jutge.org, 2006–2026.
https://jutge.org