摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=2063#include <stdio.h>int graph[510][510], isVisit[510], match[510], m, n;int find(int a){ int i; for(i = 1; i <= n; i++){ if(graph[a][i] && !isVisit[i]){ isVisit[i] = 1; if((match[i] == -1) || find(match[i])){ match[i] = a; return 1; } } } 阅读全文
posted @ 2011-04-10 15:31
緋時之鏡
阅读(268)
评论(0)
推荐(0)
浙公网安备 33010602011771号