Loading

摘要: Description 牛牛有一棵 $n$ 个点的有根树, 根为 1 。 我们称一个长度为 $m$ 的序列 $a$ 是好的,当且仅当: $\forall i \in(1, m], \mathrm{a}{\mathrm{i}}$ 为 $\mathrm{a}{\mathrm{i}-1}$ 的祖先或 $\ 阅读全文
posted @ 2023-05-11 19:39 Thunder_S 阅读(15) 评论(0) 推荐(0) 编辑