
数据结构专题解析
文章平均质量分 83
hange_db
男儿不展风云志空腹平生八尺躯
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
poj 1611 并查集
The Suspects Time Limit: 1000MS Memory Limit: 20000K Total Submissions: 18435 Accepted: 8920 Description Severe acute respiratory syndrome (SARS), an atypical pneumon原创 2013-07-22 16:22:52 · 904 阅读 · 1 评论 -
LA 3644 并查集
X-Plosives A secret service developed a new kind of explosive that attain its volatile property only when a specific association of products occurs. Each product is a mix of two different simple c原创 2013-07-23 10:05:16 · 1052 阅读 · 0 评论 -
LA 3027并查集
3027 - Corporative Network Time limit: 3.000 seconds #include #include #include using namespace std; const int maxn=20050; int pre[maxn]; int d[maxn]; int find(int x){ if(pre[x]!=x){原创 2013-07-24 10:14:52 · 810 阅读 · 0 评论 -
POJ 2524 并查集
Ubiquitous Religions Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 20197 Accepted: 9920 Description There are so many different religions in the world to原创 2013-07-26 14:01:43 · 825 阅读 · 0 评论 -
poj 1182 并查集
食物链 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 36114 Accepted: 10488 Description 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都原创 2013-07-26 17:13:40 · 733 阅读 · 0 评论 -
poj 2912 并查集
Rochambeau Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 1658 Accepted: 577 Description N children are playing Rochambeau (scissors-rock-cloth) game wi原创 2013-07-27 14:48:04 · 1225 阅读 · 4 评论 -
uva 11987 并查集
并查集原创 2013-07-27 16:29:38 · 812 阅读 · 0 评论 -
poj 1456 并查集
Supermarket Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 7838 Accepted: 3334 Description A supermarket has a set Prod of products on sale. It earns a pr原创 2013-07-27 22:56:39 · 760 阅读 · 0 评论