![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
dfs
z245527922
这个作者很懒,什么都没留下…
展开
-
文章标题
Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a grid tha原创 2015-04-29 21:41:17 · 289 阅读 · 0 评论 -
Prime Ring Problem
Problem Description A ring is compose of n circles as shown in diagram. Put natural number 1, 2, …, n into each circle separately, and the sum of numbers in two adjacent circles should be a prime.Note原创 2015-04-27 17:00:32 · 279 阅读 · 0 评论 -
变形课
Description 呃……变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的一个统一规律:如果咒语是以a开头b结尾的一个单词,那么它的作用就恰好是使A物体变成B物体. Harry已经将他所会的所有咒语都列成了一个表,他想让你帮忙计算一下他是否能完成老师的作业,将一个B(ball)变成一个M(Mouse原创 2015-04-27 16:48:59 · 308 阅读 · 0 评论 -
Sum It Up
Description Given 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 [4,3,2,2,1,1], then there转载 2015-05-03 14:53:44 · 303 阅读 · 0 评论 -
A Knight's Journey
A Knight’s Journey Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 34085 Accepted: 11621Description Background The knight is getting bored of seeing the same black and white原创 2015-05-03 14:51:12 · 292 阅读 · 0 评论 -
hdu 1010 Tempter of the Bone 深搜+剪枝
Tempter of the Bone Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionThe doggie foun转载 2015-05-04 22:12:12 · 279 阅读 · 0 评论 -
Red and Black(BFS or DFS)
Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacent tiles.原创 2015-07-05 22:52:33 · 241 阅读 · 0 评论