Rosetta Problems
← yosupo に戻る
Cartesian Tree
https://judge.yosupo.jp/problem/cartesian_tree