Rosetta Problems
← atcoder に戻る
Rail Tour
https://atcoder.jp/contests/code-festival-2014-morning-hard/tasks/code_festival_morning_hard_d