摘要: 题目链接 \(Destroying\) 分析 又是变形了的最短路 我们可以考虑哪些道路必须被保留 然后枚举两个起点到终点重复的道路 考虑公合法用这些道路就可以了 \(Code\) #include<cstdio> #include<queue> #include<cstring> #include< 阅读全文
posted @ 2020-10-16 13:01 leiyuanze 阅读(73) 评论(0) 推荐(0) 编辑