摘要: Description 给你一颗N个点有边权的树,多次询问到一个点距离第k小为多少。 Solution 考虑点分治,把点分树建出来,... 阅读全文
posted @ 2018-10-06 22:34 sadstone 阅读(45) 评论(0) 推荐(0) 编辑