并查集
文章平均质量分 78
libing923
这个作者很懒,什么都没留下…
展开
-
poj 2912 Rochambeau
RochambeauTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 1507 Accepted: 514DescriptionN children are playing Rochambeau (scissors-rock-cloth) game原创 2012-11-29 21:06:55 · 538 阅读 · 0 评论 -
poj 1182 食物链
食物链Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 31929 Accepted: 9326Description动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物原创 2012-11-29 20:41:03 · 6411 阅读 · 0 评论 -
zoj 3641 Information Sharing
Information SharingTime Limit: 3 Seconds Memory Limit: 65536 KBThere is going to be a test in the kindergarten. Since the kids would cry if they get a low score in the test, the teacher h原创 2013-04-24 00:10:25 · 612 阅读 · 0 评论