
动态规划
lx0208
等不到的人生,就要独自前行
展开
-
HDU1248 寒冰王座
1248寒冰王座Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 17593 Accepted Submission(s): 9109Problem Description不死族的巫妖王发工资拉,死亡骑士拿到一张N元的钞票(记住,只有原创 2017-07-29 14:03:00 · 284 阅读 · 0 评论 -
HDU2011 多项式求和
2011多项式求和Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 80384 Accepted Submission(s): 46094Problem Description多项式的描述如下: 1 - 1/2 + 1/3 - 1/原创 2017-08-11 17:38:55 · 274 阅读 · 0 评论 -
HDU1465 不容易系列之一
1465不容易系列之一Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 21986 Accepted Submission(s): 9543Problem Description大家常常感慨,要做好一件事情真的不容易,确实,失败比成功原创 2017-08-04 20:24:08 · 274 阅读 · 0 评论 -
暂存
#include<cstdio> #include<algorithm> using namespace std; const int INF = 0x3f3f3f3f; int dp[15][1005]; void sovel(int k, int p) { for (int b = 1; b < 11; b++) { if (b >= p)原创 2017-08-06 15:43:09 · 259 阅读 · 2 评论