图论
文章平均质量分 67
cmonkey
追随大自然的召唤
展开
-
POJ 2513 Colored Sticks
Colored Sticks Time Limit: 5000MS Memory Limit: 128000K Total Submissions: 22276 Accepted: 5884 Description You are given a bunch of wooden sticks. Each endpoint of each stick is colored with原创 2012-02-03 22:58:05 · 385 阅读 · 0 评论 -
pku 1274 二分图匹配
//经典的二分图匹配,留个念。 #include #include #include #include int N, M; int map[201][201] = {0}; int x[201]; bool vis[201]; void init() { int i, j; for (i = 1; i { scanf("%d", &map[i][0]原创 2010-11-05 21:42:00 · 368 阅读 · 0 评论