Rosetta Problems

アメージングな二分探索木は、きみが作る!

https://atcoder.jp/contests/discovery2016-final/tasks/discovery_2016_final_e