摘要: 原文链接https://www.cnblogs.com/zhouzhendong/p/9246484.html 题目传送门 - Codeforces 1000G Two-Paths 题意 给定一棵有 $n(2\leq n\leq 3\times 10^5)$ 个节点的树,其中节点 $i$ 有权值 $ 阅读全文
posted @ 2018-06-30 11:15 zzd233 阅读(746) 评论(0) 推荐(2) 编辑