
并查集
文章平均质量分 81
下饭厨子
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hdu 4907 Task schedule
Task schedule Description 有一台机器,并且给你这台机器的工作表,工作表上有n个任务,机器在ti时间执行第i个任务,1秒即可完成1个任务。 有m个询问,每个询问有一个数字q,表示如果在q时间有一个工作表之外的任务请求,请计算何时这个任务才能被执行。 机器总是按照工作表执行,当机器空闲时立即执行工作表之外的任务请求。 Input 输入的第一行包含一个整数T, 表示一共原创 2016-07-27 10:48:37 · 282 阅读 · 0 评论 -
J HDU 5326 Work
Work Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 5326 Description It’s an interesting experience to move from IC原创 2016-08-19 17:32:58 · 426 阅读 · 0 评论 -
HDU 4707 Pet
Pet Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 4707 Description One day, Lin Ji wake up in the morning and found that h原创 2016-08-19 17:31:43 · 417 阅读 · 0 评论 -
HDU 1325 Is It A Tree?
Is It A Tree? Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1325 Description A tree is a well-known data structure that is原创 2016-08-19 17:30:17 · 299 阅读 · 0 评论 -
HDU 2120 Ice_cream's world I
Ice_cream's world I Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 2120 Description ice_cream's world is a rich country, it原创 2016-08-19 17:28:28 · 391 阅读 · 0 评论 -
HDU 1272 小希的迷宫
小希的迷宫 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1272 Description 上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。原创 2016-08-19 17:27:22 · 403 阅读 · 0 评论 -
HDU 1856 More is better
More is better Time Limit:1000MS Memory Limit:102400KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1856 Description Mr Wang wants some boys to help him with a原创 2016-08-19 17:26:18 · 463 阅读 · 0 评论 -
HDU 1213 How Many Tables
How Many Tables Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1213 Description Today is Ignatius' birthday. He invites a l原创 2016-08-19 17:22:57 · 448 阅读 · 0 评论 -
POJ 1611 The Suspects
The Suspects Time Limit:1000MS Memory Limit:20000KB 64bit IO Format:%lld & %llu Submit Status Practice POJ 1611 Description Severe acute respiratory syndrome (SARS), an aty原创 2016-08-19 17:21:51 · 390 阅读 · 0 评论 -
HDU 5631 Minimum Cut-Cut
Minimum Cut-CutTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 5631DescriptionAs we know, Rikka is poor at math. Yuta is worrying about this situ原创 2016-08-19 17:20:46 · 414 阅读 · 0 评论 -
HDU 1232 畅通工程
畅通工程 Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1232 Description 某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条道路直接连通的城镇。省政府“畅通工程”的目标是使原创 2016-08-19 17:18:10 · 349 阅读 · 0 评论 -
HDU 1878 欧拉回路
欧拉回路 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1878 Description 欧拉回路是指不令笔离开纸面,可画过图中每条边仅一次,且可以回到起点的一条回路。现给定一个图,问是否存在欧拉回原创 2016-08-19 17:34:06 · 284 阅读 · 0 评论