摘要: 题目链接https://www.lydsy.com/JudgeOnline/problem.php?id=1086思路对一棵树进行分块。 dfs,找到了一个节点,记录一个数组st" role="presentation">stst,代表它和它的子树中,没有被... 阅读全文