摘要: 网上搜的题解除了暴搜就是二分图匹配 我试了下用状态压缩做做。。。比较乱来#include #include #include #include using namespace std; char map[5][5]; int n, num; int sta[5][21], the[5][21], l[5], dp[5][21]; void deal(int x) { int i, j, tmp, p, q; bool f, r; for(i=0; i<num; i++) { j=0; p=i; f=true; ... 阅读全文
posted @ 2013-09-06 08:07 Ink_syk 阅读(96) 评论(0) 推荐(0) 编辑