![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
dfs
文章平均质量分 87
liluoyu_1016
这个作者很懒,什么都没留下…
展开
-
poj1426 Find The Multiple
Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and 1. You may assume that n is not greater than 200 and there原创 2017-08-09 19:21:21 · 134 阅读 · 0 评论 -
poj 1088 dfs+记忆化搜索
Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1 2 3 4 5 16 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13原创 2018-01-24 15:01:18 · 184 阅读 · 0 评论 -
Tempter of the Bone HDU - 1010 dfs+剪枝
The 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 feel the ground sinking. He realized that the bone原创 2018-03-13 17:42:40 · 143 阅读 · 0 评论 -
Safecracker HDU - 1015 DFS回溯 or 暴力
Safecrack === Op tech briefing, 2002/11/02 06:42 CST === "The item is locked in a Klein safe behind a painting in the second-floor library. Klein safes are extremely rare; most of them, along with K...原创 2018-03-13 18:27:52 · 139 阅读 · 0 评论