Rosetta Problems
← atcoder に戻る
Taking the middle
https://atcoder.jp/contests/agc053/tasks/agc053_b