摘要: Deletion 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5639 Description There is an undirected graph G with n vertices and m edges. Every time, you 阅读全文
posted @ 2016-03-05 23:09 qscqesze 阅读(324) 评论(0) 推荐(0) 编辑
摘要: Toposort 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5638 Description There is a directed acyclic graph with n vertices and m edges. You are allow 阅读全文
posted @ 2016-03-05 22:37 qscqesze 阅读(491) 评论(0) 推荐(0) 编辑
摘要: Transform 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5637 Description A list of n integers are given. For an integer x you can do the following o 阅读全文
posted @ 2016-03-05 22:32 qscqesze 阅读(340) 评论(0) 推荐(1) 编辑
摘要: Shortest Path 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5636 Description There is a path graph G=(V,E) with n vertices. Vertices are numbered fr 阅读全文
posted @ 2016-03-05 22:28 qscqesze 阅读(235) 评论(0) 推荐(1) 编辑
摘要: 1640 天气晴朗的魔法 题目连接: http://www.51nod.com/onlineJudge/questionCode.html !problemId=1640 Description 51nod魔法学校近日开展了主题为“天气晴朗”的魔法交流活动。 N名魔法师按阵法站好,之后选取N 1条魔 阅读全文
posted @ 2016-03-05 16:35 qscqesze 阅读(378) 评论(0) 推荐(0) 编辑