Rosetta Problems
← atcoder に戻る
titech分離
https://atcoder.jp/contests/ttpc2015/tasks/ttpc2015_g