2015年8月14日

HDU 3687 Labeling Balls(逆向拓扑)

摘要: Labeling BallsDescriptionWindy has N balls of distinct weights from 1 unit to N units. Now he tries to label them with 1 to N in such a way that:No tw... 阅读全文

posted @ 2015-08-14 17:41 焰 阅读(169) 评论(0) 推荐(0) 编辑

HDU 2647 Reward(toposort)

摘要: RewardProblem DescriptionDandelion's uncle is a boss of a factory. As the spring festival is coming , he wants to distribute rewards to his workers. ... 阅读全文

posted @ 2015-08-14 12:23 焰 阅读(222) 评论(0) 推荐(0) 编辑

导航