摘要: 最简单的记忆化搜索,题目有点问题,a, b, c中若既满足其中一个不大于0,又满足其中一个大于20,按前一种情况。 Code: 1 #include<bits/stdc++.h> 2 using namespace std; 3 int w[21][21][21]; 4 5 int dfs(int 阅读全文
posted @ 2017-01-28 19:27 Robin! 阅读(173) 评论(0) 推荐(0) 编辑