码迷,mamicode.com
首页 >  
搜索关键字:the accomodation of    ( 51个结果
HDU 2444 The Accomodation of Students 二分图判定+最大匹配
题目来源:HDU 2444 The Accomodation of Students 题意:n个人是否可以分成2组 每组的人不能相互认识 就是二分图判定 可以分成2组 每组选一个2个人认识可以去一个双人间 最多可以有几组 思路:二分图判定+最大匹配 #include #include #include using namespace std; const int maxn = ...
分类:其他好文   时间:2014-06-15 15:09:16    阅读次数:142
51条   上一页 1 ... 4 5 6
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!