问个关于二分图的算法# JobHunting - 待字闺中
u*g
1 楼
问个算法。。
这样的:一个二分图,顶点上有权,删除一些顶点,使得二分图的所有边被删光,(如
果一条边(A,B)那删除A或者B都会导致这条边被删除)
问删除哪些顶点可以让累计的权最小
只想的出brute force。。求大牛指导
这样的:一个二分图,顶点上有权,删除一些顶点,使得二分图的所有边被删光,(如
果一条边(A,B)那删除A或者B都会导致这条边被删除)
问删除哪些顶点可以让累计的权最小
只想的出brute force。。求大牛指导