Rosetta Problems

最大の和

https://atcoder.jp/contests/joi2007ho/tasks/joi2007ho_a