Rosetta Problems

Bedao Grand Contest 11 - FRACTION

https://oj.vnoi.info/problem/bedao_g11_fraction