ACM_DFS
Mr__Kid
这个作者很懒,什么都没留下…
展开
-
POJ_2488: A Knight's Journey
POJ_2488: A Knight's JourneyDescriptionBackgroundThe knight is getting bored of seeing the same black and white squares again and again and has decided to make a journeyaround the world.原创 2017-07-03 12:35:35 · 284 阅读 · 0 评论 -
HDU 2553 N皇后问题
N皇后问题Problem Description在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。你的任务是,对于给定的N,求出有多少种合法的放置方法。Input共有若干行,每行一个正整数N≤10,表示棋盘和皇后的数量;如果N=0,表示结束。O原创 2017-07-03 12:34:32 · 306 阅读 · 0 评论 -
HDU 1258 Sum It Up
Sum It UpProblem DescriptionGiven a specified total t and a list of n integers, find all distinct sums using numbers from the list that add up to t. For example, if t=4, n=6, and the list is原创 2017-07-03 12:31:51 · 285 阅读 · 0 评论 -
HDU 1010 Tempter of the Bone
Tempter of the BoneProblem DescriptionThe doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could fee原创 2017-07-03 12:30:35 · 201 阅读 · 0 评论