Rosetta Problems

実数既約分数化

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/618