Rosetta Problems

最小的和

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