并查集
文章平均质量分 65
Head_Hard
菜逼一个
展开
-
hrbust 2026势力较量 【并查集】
势力较量Time Limit: 1000 MSMemory Limit: 32768 KTotal Submit: 123(48 users)Total Accepted: 70(46 users)Rating: Special Judge: NoDescription在战火原创 2017-12-27 22:35:51 · 319 阅读 · 0 评论 -
codeforces 722 C Destroying Array【并查集】【倒插】
C. Destroying Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array consisting of n non-negative integers a...原创 2018-08-13 10:50:18 · 179 阅读 · 0 评论 -
bzoj 1202 狡猾的商人 【并查集】
1202: [HNOI2005]狡猾的商人Time Limit: 10 Sec Memory Limit: 162 MBSubmit: 4641 Solved: 2283[Submit][Status][Discuss]Description刁姹接到一个任务,为税务部门调查一位商人的账本,看看账本是不是伪造的。账本上记录了n个月以来的收入情况,其中第i 个月的收入额为Ai(i=...原创 2018-07-31 22:10:19 · 217 阅读 · 0 评论 -
SCU 2979 食物链 【并查集】
2979: 食物链Submit your solution Discuss this problem Best solutions #include#include#includeusing namespace std;const int MAX = 5e4 + 7;int pre[MAX * 3];int n原创 2018-05-07 21:32:59 · 178 阅读 · 0 评论 -
第十四届华中科技大学程序设计竞赛决赛 A-Beauty of Trees 【并查集】
题目描述 It’s universally acknowledged that there’re innumerable trees in the campus of HUST.One day the tree manager wants to play a game with you. There are N trees lining up in a straight road. The原创 2018-05-06 16:09:24 · 227 阅读 · 0 评论 -
第十四届华中科技大学程序设计竞赛 C-Professional Manager 【并查集】
题目描述 It’s universally acknowledged that there’re innumerable trees in the campus of HUST. Thus a professional tree manager is needed. Your task is to write a program to help manage the trees.原创 2018-04-30 18:48:30 · 207 阅读 · 0 评论 -
HDU 1811 Rank of Tetris 【拓扑排序 + 并查集】
Rank of TetrisTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11156 Accepted Submission(s): 3192Problem Description自从Lele开发了Ratin原创 2018-04-09 22:55:57 · 135 阅读 · 0 评论 -
hrbust 2371 GT’s Dream 【线段树】【并查集】
GT’s DreamTime Limit: 1000 MSMemory Limit: 256000 KTotal Submit: 83(31 users)Total Accepted: 29(21 users)Rating: Special Judge: NoDescription在原创 2018-03-27 21:01:00 · 245 阅读 · 0 评论 -
hrbust 1041 Chocolate Auction【并查集】
Chocolate AuctionTime Limit: 10000 MSMemory Limit: 65536 KTotal Submit: 315(85 users)Total Accepted: 106(72 users)Rating: Special Judge: NoDescription原创 2018-03-07 19:07:04 · 336 阅读 · 1 评论 -
Educational Codeforces Round 33 (Rated for Div. 2)【C】【并查集】
我是门C. Rumortime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVova promised himself that he would never原创 2018-02-07 21:09:10 · 317 阅读 · 0 评论 -
POJ 1611 The Suspects【并查集】
The SuspectsTime Limit: 1000MS Memory Limit: 20000KTotal Submissions: 44628 Accepted: 21422DescriptionSevere acute respiratory syndrome (SARS), an atypical pneumo原创 2018-01-19 19:49:10 · 153 阅读 · 0 评论 -
HDU 1213 How Many Tables【并查集】
How Many TablesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 36594 Accepted Submission(s): 18217Problem DescriptionToday is Ign原创 2018-01-19 19:33:28 · 145 阅读 · 0 评论 -
hrbust 1725 Virus Outbreaking 【并查集】
Virus OutbreakingTime Limit: 1000 MSMemory Limit: 32768 KTotal Submit: 122(37 users)Total Accepted: 45(34 users)Rating: Special Judge: NoDescription原创 2017-12-10 10:14:40 · 285 阅读 · 0 评论 -
hrbust 1490咒语【基础并查集】
咒语Time Limit: 1000 MSMemory Limit: 65535 KTotal Submit: 209(59 users)Total Accepted: 74(54 users)Rating: Special Judge: NoDescription 小w同原创 2017-12-16 14:29:28 · 364 阅读 · 0 评论 -
codeforces 1027D Mouse Hunt 【并查集】【dfs】
D. Mouse Hunttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMedicine faculty of Berland State University has just finished thei...原创 2018-08-19 09:56:01 · 536 阅读 · 0 评论