Rosetta Problems

金明的预算方案

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