摘要: 摘自Codeforces博客 With dsu on tree we can answer queries of this type: How many vertices in subtree of vertex v has some property in O(n lg n) time (for 阅读全文
posted @ 2017-03-27 21:08 我在地狱 阅读(543) 评论(0) 推荐(0) 编辑