Rosetta Problems
← atcoder に戻る
Contiguous Repainting
https://atcoder.jp/contests/agc008/tasks/agc008_b