Rosetta Problems
← atcoder に戻る
切符分割
https://atcoder.jp/contests/qupc2014/tasks/qupc2014_d