Rosetta Problems

Selection with Adjacent Penalty

https://atcoder.jp/contests/awc0140/tasks/awc0140_c