Rosetta Problems
← atcoder に戻る
ハードル走
https://atcoder.jp/contests/njpc2017/tasks/njpc2017_c