摘要:
传送门 题目大意:给我们一个无向图,让我们删两个点,让剩下的强连通分量个数最多 思路:N只有5000,所以复杂度可以高一点,所以想到枚举删除一个点,然后对剩下的图 用求割点的方式,求出割去该点后能多出来的连通分量个数,即子树个数,要记得对根节点特判 AC代码: #include<bits/stdc+ 阅读全文
posted @ 2021-04-02 16:30
cono奇犽哒
阅读(40)
评论(0)
推荐(0)
摘要:
题目描述: A network administrator manages a large network. The network consists of N computers and M links between pairs of computers. Any pair of compute 阅读全文
posted @ 2021-04-02 14:37
cono奇犽哒
阅读(132)
评论(0)
推荐(0)

浙公网安备 33010602011771号