Rosetta Problems

有理数的和

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