该文被密码保护。 阅读全文
posted @ 2020-02-29 12:28 with_hope 阅读(7) 评论(0) 推荐(0)
摘要: 原题链接:516D. Drazil and Morning Exercise 题目大意:给定一棵$n$个点的树,定义$f_x=\max_^n \text(x,i)$,$q$次询问,每次给出一个$l$,求树上一个最大的连通块$S$,使得$\max_{x \in S}-\min_{x \in S}\le 阅读全文
posted @ 2020-02-29 10:00 with_hope 阅读(155) 评论(0) 推荐(0)