Rosetta Problems
← atcoder に戻る
Selection with Adjacent Penalty
https://atcoder.jp/contests/awc0140/tasks/awc0140_c