数位dp
文章平均质量分 77
qq_33817680
这个作者很懒,什么都没留下…
展开
-
FZU2109:Mountain Number(数位DP)
Description One integer number x is called "Mountain Number" if: (1) x>0 and x is an integer; (2) Assume x=a[0]a[1]...a[len-2]a[len-1](0≤a[i]≤9, a[0] is positive). Any a[2i+1] is larger or equa原创 2016-05-24 18:38:12 · 232 阅读 · 0 评论 -
杭电3555
Problem Description The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number sequence of the time bomb counts from 1 to N. If the curr原创 2016-04-23 17:44:02 · 198 阅读 · 0 评论 -
hdu 2089
题目链接 附上详细解释的代码 //发现自己还是这么弱,网上代码大多也都只有代码没有解释,这里附上解释防止以后忘记 #include #include #include #include #include #include using namespace std; long long dp[25][6]; long long pow(long long i){//求10的i次方原创 2016-05-18 19:20:57 · 237 阅读 · 0 评论