
二分图
life4711
这个作者很懒,什么都没留下…
展开
-
线性规划与网络流24题之最小路径覆盖问题
http://acm.nefu.edu.cn/JudgeOnline/problemshow.php?problem_id=481原创 2014-06-11 21:30:52 · 1323 阅读 · 0 评论 -
hdu1151 最小路径覆盖
http://acm.hdu.edu.cn/showproblem.php?pid=1151Problem DescriptionConsider a town where all the streets are one-way and each street leads from one intersection to another. It is also know原创 2015-03-09 20:42:36 · 1511 阅读 · 0 评论 -
poj2195 二分图的最佳匹配
http://poj.org/problem?id=2195DescriptionOn a grid map there are n little men and n houses. In each unit time, every little man can move one unit step, either horizontally, or vertically, to a原创 2015-03-10 09:47:33 · 725 阅读 · 0 评论 -
KM算法——二分图的最佳匹配
/***************************************************************************************************************************************************KM算法模板C++作用: 求二分图的最佳匹配注意: (1)for (i:1原创 2014-12-03 20:24:33 · 1280 阅读 · 0 评论 -
hdu4751 二分图的判断
http://acm.hdu.edu.cn/showproblem.php?pid=4751Problem Description This year is the 60th anniversary of NJUST, and to make the celebration more colorful, Tom200 is going to invite distin原创 2015-03-09 19:19:40 · 1226 阅读 · 3 评论 -
poj2771 二分图的最大独立集
http://poj.org/problem?id=2771DescriptionFrank N. Stein is a very conservative high-school teacher. He wants to take some of his students on an excursion, but he is afraid that some of them mi原创 2015-03-10 16:41:28 · 1302 阅读 · 0 评论 -
hdu3829 二分图的最大独立集
http://acm.hdu.edu.cn/showproblem.php?pid=3829Cat VS DogTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 125536/65536 K (Java/Others)Total Submission(s): 2851 Accepted Submission(s原创 2015-03-10 20:40:34 · 977 阅读 · 0 评论 -
zoj3460
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3460MissileTime Limit: 2 Seconds Memory Limit: 65536 KBYou control N missile launching towers. Every tower has enough mi原创 2015-03-11 22:47:42 · 750 阅读 · 0 评论 -
hdu5093 二分图的最大匹配
http://acm.hdu.edu.cn/showproblem.php?pid=5093Problem DescriptionDear contestant, now you are an excellent navy commander, who is responsible of a tough mission currently.Your fleet unfo原创 2015-05-13 08:56:29 · 1053 阅读 · 0 评论 -
poj1904 二分图匹配+强连通分量
http://poj.org/problem?id=1904DescriptionOnce upon a time there lived a king and he had N sons. And there were N beautiful girls in the kingdom and the king knew about each of his sons which o原创 2015-08-20 11:33:29 · 928 阅读 · 0 评论 -
2015年四川省赛||弱校联萌十一大决战之强力热身 H. Range Query 二分图的最大匹配确定匹配顺序
http://www.bnuoj.com/v3/contest_show.php?cid=6865#problem/Hfrog has a permutation \(p(1), p(2), \dots, p(n)\) of \(\{1, 2, \dots, n\}\). She also has \(m_1 + m_2\) records \((a_i, b_i, c_i)\) of原创 2015-10-09 15:23:20 · 1380 阅读 · 0 评论 -
hdu1045 暴力搜索,用二分图也可以做
http://acm.hdu.edu.cn/showproblem.php?pid=1045Problem DescriptionSuppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each r原创 2015-03-04 22:07:17 · 749 阅读 · 0 评论 -
hdu2444 二分图的匹配,先判断是否为二分图
http://acm.hdu.edu.cn/showproblem.php?pid=2444Problem DescriptionThere are a group of students. Some of them may know each other, while others don't. For example, A and B know each other, B原创 2015-03-04 10:26:46 · 1044 阅读 · 0 评论 -
二分图的最大匹配
http://acm.nefu.edu.cn/JudgeOnline/problemshow.php?problem_id=474descriptionFarmer John completed his new barn just last week, complete with all the latest milking technology. Un原创 2014-06-11 15:55:27 · 1069 阅读 · 0 评论 -
线性规划与网络流24题之飞行员配对计划 二分图的最大匹配
http://acm.nefu.edu.cn/JudgeOnline/problemshow.php?problem_id=630http://acm.nefu.edu.cn/JudgeOnline/problemshow.php?problem_id=475原创 2014-06-15 14:59:12 · 1787 阅读 · 0 评论 -
最小路径覆盖(最小边覆盖&&最小点覆盖)hdu1150
【最小边覆盖(原图是二分图)】:在图中找一些边,使之覆盖了图中所有顶点,且任何一个顶点有且只有一条边与之关联。最小边覆盖 = 最大独立集 = |V| - 最大匹配数【最小顶点覆盖】:用最少的点(左右两边集合的点)让每条边都至少和其中一个点关联。原创 2014-10-08 19:02:16 · 1528 阅读 · 0 评论 -
线性规划与网络流24题之方格取数问题 二分图点权最大独立集
http://acm.nefu.edu.cn/JudgeOnline/problemshow.php?problem_id=482description 在一个有m*n 个方格的棋盘中,每个方格中有一个正整数。现要从方格中取数,使任意2 个数所在方格没有公共边,且取出的数的总和最大。试设计一个满足要求的取数算法。对于给定的方格棋盘,按照取数要求编原创 2014-06-12 10:38:32 · 1059 阅读 · 0 评论 -
hdu5090 匈牙利算法二分图最大匹配问题
http://acm.hdu.edu.cn/showproblem.php?pid=5090Problem DescriptionTom and Jerry are playing a game with tubes and pearls. The rule of the game is:1) Tom and Jerry come up together with a原创 2014-11-03 08:25:06 · 894 阅读 · 0 评论 -
二分图的最大匹配的匈牙利算法
以前做二分图的题目都是用原创 2014-10-06 16:10:15 · 735 阅读 · 0 评论 -
2014上海网络赛1004||hdu5045 二分图的最佳匹配 或 状态压缩dp
http://acm.hdu.edu.cn/showproblem.php?pid=5045Problem DescriptionIn the ACM International Collegiate Programming Contest, each team consist of three students. And the teams are given 5 hours原创 2014-09-28 07:45:30 · 1052 阅读 · 0 评论 -
线性规划与网络流24题之分配问题 最大费用最大流、最小费用最大流、二分图的最佳匹配
http://acm.nefu.edu.cn/JudgeOnline/problemshow.php?problem_id=485description 有n件工作要分配给n个人做。第i 个人做第j 件工作产生的效益为ij c 。试设计一个将n件工作分配给n个人做的分配方案,使产生的总效益最大。 对于给定的n件工作和n个人,计算最优分配方案原创 2014-06-12 18:34:46 · 2892 阅读 · 0 评论 -
最小路径覆盖问题poj2594&&poj1422(匈牙利解法)
http://poj.org/problem?id=1422原创 2014-10-08 07:40:17 · 708 阅读 · 0 评论 -
HDU 2063 匈牙利算法二分图的最大匹配
http://acm.hdu.edu.cn/showproblem.php?pid=2063原创 2014-10-05 16:18:05 · 643 阅读 · 0 评论 -
Uva11383 二分图的完美匹配(深入理解KM算法)
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2378/**Uva11383 二分图的完美匹配(深入理解KM算法)刘汝佳大白书P351 少林决胜*/#include #include #include #include using原创 2015-10-09 20:41:53 · 1226 阅读 · 0 评论