CPLIB_TREE_CARTESIAN_TREE = 1
proc cartesian_tree_tuple(A: seq[int]): seq[tuple[p: int, l: int, r: int]] {. ...raises: [], tags: [].}