hdu4496 D-City(并查集删边)

D-City Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 2128    Accepted Submission(s): 749...

2015-04-23 16:43:47

阅读数 461

评论数 0

poj1733 Parity game(并查集+离散化--经典)

Parity game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 6583   Accepted: 2551 Description Now and then...

2015-01-11 15:33:48

阅读数 546

评论数 0

poj2492 A Bug's Life(并查集)

A Bug's Life Time Limit: 10000MS   Memory Limit: 65536K Total Submissions: 29152   Accepted: 9507 Description Background  Professor Hopper...

2015-01-10 21:03:39

阅读数 546

评论数 0

杭电3038 How Many Answers Are Wrong(带权并查集-经典)

How Many Answers Are Wrong Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2779    Accepte...

2015-01-10 17:13:10

阅读数 610

评论数 0

poj1611 The Suspects(基础并查集)

The Suspects Time Limit: 1000MS   Memory Limit: 20000K Total Submissions: 23608   Accepted: 11511 Description Severe ac...

2015-01-10 15:37:31

阅读数 473

评论数 0

poj2236 Wireless Network(并查集)

Wireless Network Time Limit: 10000MS   Memory Limit: 65536K Total Submissions: 17059   Accepted: 7164 Description An ea...

2015-01-10 15:14:51

阅读数 571

评论数 0

poj1182 食物链(并查集)

食物链 Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 46841   Accepted: 13615 Description 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B...

2014-12-11 22:30:25

阅读数 498

评论数 0

杭电1811 Rank of Tetris(拓扑排序+并查集缩点)

Rank of Tetris Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5490    Accepted Submission(s...

2014-12-03 08:34:42

阅读数 615

评论数 2

杭电1116 Play on Words(并查集+欧拉路)

Play on Words Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 5743    Accepted Submission...

2014-11-27 21:21:37

阅读数 762

评论数 0

杭电1598 find the most comfortable road(并查集暴力求解)

find the most comfortable road Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4027    Acc...

2014-11-21 20:25:05

阅读数 595

评论数 0

杭电 1558 Segment set(并查集+线段相交)

Segment set Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3451    Accepted Submission(s)...

2014-08-22 21:47:56

阅读数 830

评论数 0

杭电1198 Farm Irrigation(并查集)

Farm Irrigation Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 5775    Accepted Submissio...

2014-08-09 22:14:33

阅读数 471

评论数 0

杭电1325 Is it A tree?(并查集)

7月22-8月21多校联合训练期间,会根据实际负载关闭部分模块,若有不便,请谅解~ Is It A Tree? Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Other...

2014-06-28 13:29:17

阅读数 793

评论数 0

南阳42 一笔画问题(欧拉回路+并查集)

一笔画问题 时间限制:3000 ms  |  内存限制:65535 KB 难度:4 描述 zyc从小就比较喜欢玩一些小游戏,其中就包括画一笔画,他想请你帮他写一个程序,判断一个图是否能够用一笔画下来。 规定,所有的边都只能画一次,不能重复画。   输入第一行只有一个正整数N(N...

2014-06-06 22:03:30

阅读数 710

评论数 0

杭电 1233 (并查集)

杭电ACM 2014暑期集训队——选拔安排~ 还是畅通工程 Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2...

2014-05-06 19:57:09

阅读数 664

评论数 0

杭电1856More is better(并查集)

#include #include #include #define maxn 10000000+10 #define M 100000+10 int c[maxn],father[maxn],i,max; int find(int x) { return x==father[x]?x:fath...

2014-05-02 14:40:47

阅读数 645

评论数 0

hdu 1272 小希的迷宫(并查集)

小希的迷宫 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 23875    Accepted Submission(s): 732...

2014-05-02 10:06:30

阅读数 552

评论数 0

杭电1213 How Many Tables(并查集)

杭电ACM 2014暑期集训队——选拔安排~ How Many Tables Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submiss...

2014-05-01 23:22:55

阅读数 590

评论数 0

杭电1232畅通工程(并查集)

/* 畅通工程 Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 27655    Accepted Submission(s): ...

2014-05-01 22:53:13

阅读数 548

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭