随笔分类 -  搜索-dfs

摘要:题目连接http://poj.org/problem?id=1564Sum It UpDescriptionGiven a specified total t and a list of n integers, find all distinct sums using numbers from th... 阅读全文
posted @ 2015-10-25 20:17 GadyPu 阅读(265) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1427速算24点Description速算24点相信绝大多数人都玩过。就是随机给你四张牌,包括A(1),2,3,4,5,6,7,8,9,10,J(11),Q(12),K(13)。要求只用'+','-','*... 阅读全文
posted @ 2015-10-20 17:25 GadyPu 阅读(250) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2660Accepted NecklaceDescriptionI have N precious stones, and plan to use K of them to make a necklace f... 阅读全文
posted @ 2015-10-18 14:16 GadyPu 阅读(290) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4707PetDescriptionOne day, Lin Ji wake up in the morning and found that his pethamster escaped. He searc... 阅读全文
posted @ 2015-09-08 21:27 GadyPu 阅读(152) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5326WorkDescriptionIt’s an interesting experience to move from ICPC to work, end my college life and sta... 阅读全文
posted @ 2015-09-05 21:24 GadyPu 阅读(141) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1010Tempter of the BoneDescriptionThe doggie found a bone in an ancient maze, which fascinated him a lot... 阅读全文
posted @ 2015-07-08 13:22 GadyPu 阅读(189) 评论(0) 推荐(0)
摘要:题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2952Counting SheepDescriptionA while ago I had trouble sleeping. I used to lie awake, staring at the cei... 阅读全文
posted @ 2015-07-01 22:03 GadyPu 阅读(258) 评论(0) 推荐(0)