摘要: 题目链接:https://www.luogu.com.cn/problem/P1967 解题思路: 先求最大生成树; 在用LCA求路径最小边。 示例代码: #include <bits/stdc++.h> using namespace std; const int maxn = 10010, ma 阅读全文
posted @ 2020-10-14 08:48 quanjun 阅读(85) 评论(0) 推荐(0)