Rosetta Problems
← atcoder に戻る
砂の城 (Sandcastle)
https://atcoder.jp/contests/joi2015yo/tasks/joi2015yo_e