
搜索
_bread
我很菜的
展开
-
HDU 2952 Counting Sheep(DFS)
Problem DescriptionA while ago I had trouble sleeping. I used to lie awake, staring at the ceiling, for hours and hours. Then one day my grandmother suggested I tried counting sheep after I'd gone原创 2017-07-20 10:15:59 · 316 阅读 · 0 评论 -
HDU 1978 How many ways(记忆化搜索)
Problem Description这是一个简单的生存游戏,你控制一个机器人从一个棋盘的起始点(1,1)走到棋盘的终点(n,m)。游戏的规则描述如下:1.机器人一开始在棋盘的起始点并有起始点所标有的能量。2.机器人只能向右或者向下走,并且每走一步消耗一单位能量。3.机器人不能在原地停留。4.当机器人选择了一条可行路径后,当他走到这条路径的终点时,他将只有终点所标记的能量。原创 2017-07-19 13:00:59 · 277 阅读 · 0 评论 -
HDU 2612 Find a way(BFS)
Find a wayTime Limit : 3000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Problem DescriptionPass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at fin原创 2017-07-21 09:46:09 · 249 阅读 · 0 评论 -
HDU 1372 Knight Moves(BFS)
Knight MovesTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Problem DescriptionA friend of you is doing research on the Traveling Knight Problem (TKP)原创 2017-07-21 11:20:03 · 245 阅读 · 0 评论 -
HDU 1258 Sum It Up(DFS)
Sum It UpTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Problem DescriptionGiven a specified total t and a list of n integers, find all distinct sums原创 2017-07-21 15:27:26 · 348 阅读 · 0 评论 -
CSU 1562 Fun House
1562: Fun HouseDescriptionAmerican Carnival Makers Inc. (ACM) has a long history of designing rides and attractions. One of their more popular attractions is a fun house that includes a原创 2017-08-02 19:51:41 · 354 阅读 · 0 评论