摘要:
题目: https://www.jisuanke.com/course/2291/182237 思路: 来自:https://blog.csdn.net/qq_29980371/article/details/76599695 阅读全文
posted @ 2019-03-28 20:57
付玬熙
阅读(274)
评论(0)
推荐(0)
摘要:
题目: https://www.jisuanke.com/course/2291/182236 思路: 递归解决,从第一本书开始,每本书都有两种选择: 1.买 dfs(index+1,money+book[index],cnt+1); 2.不买 dfs(index+1,money,cnt);//不买 阅读全文
posted @ 2019-03-28 17:27
付玬熙
阅读(291)
评论(0)
推荐(1)

浙公网安备 33010602011771号