POJ 1469 courses

来源:互联网 发布:网络语言的好处 编辑:程序博客网 时间:2024/04/28 23:36

求二分图的最大匹配m,如果m==p(课程数),就符合要求,不一定每个学生都要represent一门课程(a student can represent a course if he/she visits that course)

 

 

代码: