![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
并查集
zadarmo_
这个作者很懒,什么都没留下…
展开
-
1118 Birds in Forest (25 分)——甲级(并查集+set)
Some scientists took pictures of thousands of birds in a forest. Assume that all the birds appear in the same picture belong to the same tree. You are supposed to help the scientists to count the maxi...原创 2019-08-19 15:55:53 · 145 阅读 · 0 评论 -
1107 Social Clusters (30 分)——甲级(并查集)
When register on a social network, you are always asked to specify your hobbies in order to find some potential friends with the same hobbies. A social cluster is a set of people who have some of thei...原创 2019-08-21 20:56:23 · 1002 阅读 · 0 评论