Rosetta Problems

链上二次求和

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