摘要: [原题传送门](https://www.luogu.com.cn/problem/P9507) ## 题目描述 Ghiță 有一个下标从 $0$ 开始的正整数序列 $S$。因为他是喀尔巴阡的国王,所以他想要构造一个节点编号为 $0,1,\ldots ,N-1$ 的二叉树,满足: - 树的中序遍历按节 阅读全文
posted @ 2023-08-09 13:49 383494 阅读(11) 评论(0) 推荐(0) 编辑