并查集
这条街上最靓的妞儿
这个作者很懒,什么都没留下…
展开
-
POJ2524Ubiquitous Religions(并查集)
Ubiquitous ReligionsTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 37298 Accepted: 17772DescriptionThere are so many different religions in the world today that it is difficult to keep trac...原创 2017-09-01 19:36:43 · 153 阅读 · 0 评论 -
POJ1611The Suspects(并查集)
The SuspectsTime Limit: 1000MS Memory Limit: 20000KTotal Submissions: 42090 Accepted: 20305DescriptionSevere acute respiratory syndrome (SARS), an atypical pneumo原创 2017-09-03 16:52:02 · 241 阅读 · 0 评论 -
SDUT 1488 数据结构实验:连通分量个数(无向图的连通)
数据结构实验:连通分量个数Time Limit: 1000MSMemory Limit: 65536KB SubmitStatistic Discuss Problem Description 在无向图中,如果从顶点vi到顶点vj有路径,则称vi和vj连通。如果图中任意两个顶点之间都连通,则称该图为连通图,否则,称该图为非连通图,则其中的极大连通子图称为连通原创 2017-10-14 20:30:14 · 375 阅读 · 0 评论 -
Wireless Network
An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, but an unexpected aftershock attacked, all computers in the n原创 2017-12-10 13:42:43 · 291 阅读 · 0 评论