guagua

并查集专题:POJ-1161 The Suspects

与世无争的帅哥 提交于 2020-10-29 18:21:22
并查集专题训练的最后一天,其实基础题还有 10 道未完成,我在 vjudge 上已经开了专题训练:https://vjudge.net/contest/314923#overview,点击原文链接可跳转,密码:guagua 并查集专题:POJ-1161 The Suspects 题目: Description 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 separate the suspects from others. In the Not-Spreading-Your-Sickness University (NSYSU), there are many student groups. Students in the same group intercommunicate with each other frequently, and a student may join several groups. To prevent