Rosetta Problems
← 問題一覧に戻る
Cartesian 木
相異なる整数からなる数列が与えられ、その Cartesian 木を求める。
関連リンク
yosupo/cartesian_tree