Rosetta Problems
← atcoder に戻る
白黒ツリー
https://atcoder.jp/contests/njpc2017/tasks/njpc2017_h