摘要: 来源poj2236 An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, b 阅读全文
posted @ 2018-08-07 21:07 一无所知小白龙 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 来源poj1182 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。 有人用两种说法对这N个动物所构成的食物链关系进行描述: 第一种说法是"1 X Y",表示X 阅读全文
posted @ 2018-08-07 19:24 一无所知小白龙 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 来源 hdu 1325 A tree is a well known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed ed 阅读全文
posted @ 2018-08-07 15:34 一无所知小白龙 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 来源 hdu1272 上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,也可以通过它从房间B走到房间A 阅读全文
posted @ 2018-08-07 12:33 一无所知小白龙 阅读(202) 评论(0) 推荐(0) 编辑