
并查集
TooSIMple_
十倍努力做突出一个!
展开
-
POJ1611 The Suspects
The SuspectsTime Limit: 1000MS Memory Limit: 20000KTotal Submissions: 36749 Accepted: 17831DescriptionSevere acute respiratory syndrome (SARS), an atypical pneu原创 2017-03-28 22:01:37 · 251 阅读 · 0 评论 -
Codeforces 300B Coach (并查集)
B. Coachtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA programming coach has n students to teach. We kn原创 2018-01-29 11:42:40 · 255 阅读 · 0 评论 -
Codeforces 722C Destroying Array (并查集)
C. Destroying Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array consisting of n n原创 2018-01-31 09:59:35 · 223 阅读 · 0 评论 -
POJ2524 Ubiquitous Religions (并查集)
Ubiquitous ReligionsTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 34137 Accepted: 16488DescriptionThere are so many different religions in the world原创 2017-04-15 21:45:27 · 331 阅读 · 0 评论 -
POJ2366 Wireless Network(并查集)
Wireless NetworkTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 27279 Accepted: 11286DescriptionAn earthquake takes place in Southeast Asia. The ACM原创 2017-04-18 19:46:14 · 383 阅读 · 0 评论 -
POJ1703 Find them, Catch them(并查集+向量偏移)
Find them, Catch themTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 44767 Accepted: 13791DescriptionThe police office in Tadu City decides to say end原创 2017-04-18 21:55:14 · 308 阅读 · 0 评论 -
POJ1308 Is It A Tree?
Is It A Tree?Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 32054 Accepted: 10876DescriptionA tree is a well-known data structure that is either empt原创 2017-04-14 20:57:23 · 333 阅读 · 0 评论 -
POJ1988 Cube Stacking
Cube StackingTime Limit: 2000MS Memory Limit: 30000KTotal Submissions: 24990 Accepted: 8750Case Time Limit: 1000MSDescriptionFarmer John and Betsy are pla原创 2017-04-15 19:30:51 · 249 阅读 · 0 评论 -
HDU2120 Ice_cream's world I
Ice_cream's world ITime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1521 Accepted Submission(s): 905Problem Descriptionice原创 2017-03-15 10:53:41 · 245 阅读 · 0 评论 -
HDU1856 More is better
More is betterTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 327680/102400 K (Java/Others)Total Submission(s): 26366 Accepted Submission(s): 9441Problem DescriptionMr Wang原创 2017-03-14 21:11:25 · 330 阅读 · 0 评论 -
POJ2492 A Bug's Life
A Bug's LifeTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 36242 Accepted: 11853DescriptionBackground Professor Hopper is researching the sexual b原创 2017-03-23 10:32:42 · 212 阅读 · 0 评论 -
HDU1213 How Many Tables
How Many TablesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 27986 Accepted Submission(s): 13880Problem DescriptionToday is原创 2017-03-13 17:31:14 · 192 阅读 · 0 评论 -
Codeforces 939D Love Rescue(并查集)
D. Love Rescuetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputValya and Tolya are an ideal pair, but they原创 2018-02-27 09:32:39 · 251 阅读 · 0 评论