Rosetta Problems

有理数运算

https://www.acwing.com/problem/content/1580