poj 2914 Minimum Cut(无向图最小割)

该博客探讨了如何解决无向图的最小割问题,即确定最少需要删除多少条边以使图变得不连通。文章通过ACM竞赛题目poj 2914来阐述这个问题,并介绍了将边的数目视为两点间最大流量的方法,从而将问题转化为求解无向图的最小割。博主推荐使用Stoer-Wagner算法来解决,其时间复杂度为O(n^3)。
摘要由CSDN通过智能技术生成

题目链接

Minimum Cut
Time Limit: 10000MS   Memory Limit: 65536K
Total Submissions: 7803   Accepted: 3294
Case Time Limit: 5000MS

Description

Given an undirected graph, in which two vertices can be connected by multiple edges, what is the size of the minimum cut of the graph? i.e. how many edges must be removed at least to disconnect the graph into two subgraphs?

Input

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值