摘要: 题意:有N部电影,分别可以在一个星期的几天拍摄,并可以拍W个星期,Alice可以有D个星期拍这部电影,一天只能拍一部电影。问Alice能否拍完所有电影。拆点。求匹配。 1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 #include <cstring> 5 6 using namespace std; 7 const int maxn = 1055; 8 const int maxm = 555; 9 int g[maxn][maxm];10 int nx,ny 阅读全文
posted @ 2013-05-03 11:44 Missa 阅读(176) 评论(0) 推荐(0) 编辑