摘要: 题目: (😔,最近净做并查集了还一道难的都不会) DZY loves chemistry, and he enjoys mixing chemicals. DZY has n chemicals, and m pairs of them will react. He wants to pour t 阅读全文
posted @ 2018-08-18 15:55 巢南 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 题目: 上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,也可以通过它从房间B走到房间A,为了提高难度 阅读全文
posted @ 2018-08-18 10:54 巢南 阅读(126) 评论(0) 推荐(0) 编辑