Rosetta Problems

数字序列和它的和

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