Problem Description
Loading...
Problem Analysis
Algorithm for finding the greatest common divisor
cpp
| |
When the greatest common divisor of the numerator and denominator is 1
this fraction is in lowest terms
just output as required
cpp
| |
Problem link: 【DidaOJ】[492]【C Language Training】List the Sequence of Simplest Proper Fractions