摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=2768二分图匹配最大独立集=节点数-最大匹配数View Code 1 #include <cstdio> 2 #include <cstring> 3 using namespace std; 4 5 const int N=510; 6 struct vote 7 { 8 char l[5],h[5]; 9 }v[N];10 int g[N][N],n;11 int mat[N];12 bool vis[N];13 bool ok(int i,int j)14 {15 return
阅读全文