![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM-二分匹配
文章平均质量分 70
4546love
这个作者很懒,什么都没留下…
展开
-
HDU 1054 最小顶点覆盖
<br />http://acm.hdu.edu.cn/showproblem.php?pid=1054<br />#include<iostream>#include<cstdio>#include<cstring>#include<cmath>using namespace std;#define N 1501bool h[N];int pre[N];int n;int head[N];struct Node{ int v,next; Node(){}原创 2011-04-22 22:22:00 · 688 阅读 · 0 评论 -
HDU 1083 最大匹配
<br />http://acm.hdu.edu.cn/showproblem.php?pid=1083<br />做做水题~~~~<br />#include<iostream>using namespace std;#define N 101#define M 301int head[M];bool h[M];int pre[M];int NE;struct node{ int v,next; node(){}; node(int a,int b):nex原创 2011-04-23 13:22:00 · 620 阅读 · 0 评论 -
HDU 2768 Cat vs. Dog
http://acm.hdu.edu.cn/showproblem.php?pid=2768#includeusing namespace std;#define N 505#define M 10001struct node{ int next,v原创 2011-07-05 19:45:42 · 1090 阅读 · 0 评论 -
HDU 1962 Card Game Cheater
http://acm.hdu.edu.cn/showproblem.php?pid=1962#include#includeusing namespace std;#define N 60#define MM N*Nstruct node{ int原创 2011-07-05 18:06:56 · 1182 阅读 · 0 评论 -
HDU 1507 Uncle Tom's Inherited Land*
http://acm.hdu.edu.cn/showproblem.php?pid=1507#includeusing namespace std;#define N 10001struct node{ int next,v; node(){};原创 2011-07-05 18:08:13 · 777 阅读 · 0 评论 -
HDU 1281 棋盘游戏 大牛略过~^_^
<br />http://acm.hdu.edu.cn/showproblem.php?pid=1281<br />#include<iostream>using namespace std;#define N 101bool map[N][N];int pre[N];原创 2011-04-24 11:00:00 · 1042 阅读 · 0 评论 -
HDU 1435 Stable Match
http://acm.hdu.edu.cn/showproblem.php?pid=1435#include#include#include#include#include#include#includeusing namespace std;#define N原创 2011-07-13 19:10:07 · 1559 阅读 · 0 评论 -
HDU 3861 The King’s Problem
http://acm.hdu.edu.cn/showproblem.php?pid=3861#include#includeusing namespace std;#define N 5005#define M 100005int top,bcnt;int stac原创 2011-07-19 19:55:38 · 1623 阅读 · 4 评论