摘要: "E. 1 Trees and Queries" 该题需要用 lca 进行优化。 在树中求两点间的距离的方法为: 阅读全文
posted @ 2020-02-17 13:31 caoanda 阅读(179) 评论(0) 推荐(0) 编辑