Rosetta Problems
← atcoder に戻る
財宝 (Treasures)
https://atcoder.jp/contests/joi2015yo/tasks/joi2015yo_f