Rosetta Problems
← atcoder に戻る
釘 (Nails)
https://atcoder.jp/contests/joi2012ho/tasks/joi2012ho4