Rosetta Problems

幻想求和

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