[UVA][大數] 11113 - Continuous Fractions
Problem D - Continuous Fractions
A simple continuous fraction has the form:
a1 +
where the ai's are integer numbers.
The previous continuous fraction could be noted as
[a1, a2,..., an].
It is not difficult to show that any rational nu...