
并查集
昨日明眸
个人爱好
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ(2534) Ubiquitous Religions
Ubiquitous ReligionsTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 30954 Accepted: 15021DescriptionThere are so many different religions in the world tod原创 2016-06-30 15:51:39 · 417 阅读 · 0 评论 -
1881: 蛤玮的机房(今天不宜AC)
1881: 蛤玮的机房Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 391 Solved: 150SubmitStatusWeb BoardDescription蛤玮成为了实验室主任,现在学校要求他建好一个机房里的通信网络.这个网络中有n台主机,现在已知建设好了m条线路,可以让一些主机直接或间接通信,为了使这n台原创 2016-08-05 17:58:23 · 428 阅读 · 0 评论 -
一笔画问题
一笔画问题时间限制:3000 ms | 内存限制:65535 KB难度:4描述 zyc从小就比较喜欢玩一些小游戏,其中就包括画一笔画,他想请你帮他写一个程序,判断一个图是否能够用一笔画下来。规定,所有的边都只能画一次,不能重复画。 输入第一行只有一个正整数N(N每组测试数据的第一行有两个正整数P,Q(P随后的Q行,每行有两个正整数A,B(0输原创 2016-07-19 21:28:08 · 353 阅读 · 0 评论 -
hdu1325Is It A Tree?(并查集)
H - Is It A Tree?Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionA tree is a well-known data structure that is either empty (n原创 2016-08-01 17:16:14 · 1964 阅读 · 2 评论 -
hdu4707Pet(并查集)深度问题
PetTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionOne day, Lin Ji wake up in the morning and found that his pethamster escaped.原创 2016-08-01 16:30:21 · 543 阅读 · 0 评论 -
hdu 5326 Work(并查集)
Work It’s an interesting experience to move from ICPC to work, end my co原创 2016-08-01 15:34:09 · 289 阅读 · 0 评论 -
HDOJ 2120 Ice_cream's world I(并查集)
Ice_cream's world ITime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionice_cream's world is a rich country, it has many fertile la原创 2016-08-01 15:28:46 · 241 阅读 · 0 评论 -
HDU1272 小希的迷宫 并查集
小希的迷宫Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所原创 2016-08-01 15:25:38 · 230 阅读 · 0 评论 -
hdu 1856 More is better 并查集
More is betterTime Limit:1000MS Memory Limit:102400KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionMr Wang wants some boys to help him with a project. Because the原创 2016-08-01 15:20:26 · 288 阅读 · 0 评论 -
hdu 1213 hao many tables(并查集)
How Many TablesTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionToday is Ignatius' birthday. He invites a lot of friends. Now i原创 2016-08-01 15:16:14 · 432 阅读 · 0 评论 -
POJ-1611 The Suspects(并查集)
The SuspectsTime Limit:1000MS Memory Limit:20000KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionSevere acute respiratory syndrome (SARS), an atypical pneumonia of u原创 2016-08-01 15:11:24 · 321 阅读 · 0 评论 -
hdu 5631 Rikka with Graph(并查集)
Rikka with GraphTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionAs we know, Rikka is poor at math. Yuta is worrying about th原创 2016-08-01 15:08:29 · 420 阅读 · 0 评论 -
hdu1232畅通工程(简单并查集)
畅通工程Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使全省任何两个城镇间都可以实现交通(但不一原创 2016-08-01 15:01:11 · 373 阅读 · 0 评论 -
Networking(并查集&&最小生成数)
NetworkingTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionYou are assigned to design network connections between certain points原创 2016-08-03 19:47:09 · 651 阅读 · 1 评论 -
HDU 1233 还是畅通工程 (很简单的并查集&&最小生成数)
还是畅通工程Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription某省调查乡村交通状况,得到的统计表中列出了任意两村庄间的距离。省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的原创 2016-08-03 19:44:24 · 234 阅读 · 0 评论 -
hdu 2485 Highways(最小生成数)
HighwaysTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionThe island nation of Flatopia is perfectly flat. Unfortunately, Flatopia h原创 2016-08-03 19:41:58 · 656 阅读 · 0 评论 -
POJ 2377(求花费最大施工方案)并查集
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice POJ 2377DescriptionBessie has been hired to build a cheap internet network among原创 2016-07-30 17:50:00 · 384 阅读 · 0 评论 -
POJ2236(Wireless Network)
Wireless NetworkTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 22345 Accepted: 9387DescriptionAn earthquake takes place in Southeast Asia. The ACM (Asia原创 2016-06-30 16:12:21 · 297 阅读 · 0 评论 -
poj 1703 Find them, Catch them (分组并查集 偏移向量实现)
poj 1703 Find them, Catch them (分组并查集 偏移向量实现)标签: 并查集偏移向量poj17032014-03-14 13:29 883人阅读 评论(0) 收藏 举报 分类:ACM-数据结构(15) ACM汇总(73) ACM-并查集(12) 版权声明:本文为博主原创文章,未经博主允许不得转载。转载 2016-09-21 18:05:54 · 311 阅读 · 0 评论