摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1331 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int dp[30][30][30]; 7 8 int dfs(int a,... 阅读全文
posted @ 2014-07-21 20:29 null1019 阅读(119) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1208 1 #include 2 #include 3 #include 4 #define maxn 100 5 #define ll __int64 6 using namespace std; 7 8... 阅读全文
posted @ 2014-07-21 20:03 null1019 阅读(122) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1159 1 #include 2 #include 3 #include 4 #define maxn 1000 5 using namespace std; 6 7 int dp[maxn][maxn];... 阅读全文
posted @ 2014-07-21 18:58 null1019 阅读(108) 评论(0) 推荐(0) 编辑