并查集
Acmer之家
ACM养成之路
展开
-
POJ---1611 The Suspects【并查集】
Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmission to others, the best strategy is to原创 2017-04-17 13:26:54 · 272 阅读 · 0 评论 -
POJ---2524 Ubiquitous Religions【并查集】
There are so many different religions in the world today that it is difficult to keep track of them all. You are interested in finding out how many different religions students in your university be原创 2017-04-17 15:40:47 · 261 阅读 · 0 评论 -
POJ---1703 Find them, Catch them【并查集】
The police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon and Gang Snake. However, the police first needs to identify which原创 2017-04-24 20:41:32 · 220 阅读 · 0 评论 -
HDU---1829 A Bug's Life【并查集】
BackgroundProfessor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different genders and that they only interact with bugs of the opposite ge原创 2017-04-24 21:38:41 · 275 阅读 · 0 评论 -
POJ---2236 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原创 2017-04-25 11:14:32 · 229 阅读 · 0 评论