随笔分类 -  并查集

摘要:原题链接:https://vjudge.net/problem/11137/origin Mr Wang wants some boys to help him with a project. Because the project is rather complex, the more boys 阅读全文
posted @ 2019-02-04 12:50 _yjun 阅读(281) 评论(0) 推荐(0)
摘要:原题链接:https://vjudge.net/problem/11138/origin 上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B 阅读全文
posted @ 2019-02-04 00:20 _yjun 阅读(260) 评论(0) 推荐(0)
摘要:原题链接:https://vjudge.net/problem/19354/origin Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know ho 阅读全文
posted @ 2019-02-03 18:17 _yjun 阅读(261) 评论(0) 推荐(0)