数位DP
文章平均质量分 77
zx_love
这个作者很懒,什么都没留下…
展开
-
Balanced Number
DescriptionA balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine each digit as a box with weight indicated by the digit. Whe原创 2014-09-06 20:51:50 · 559 阅读 · 0 评论 -
不要62、4解法--数位DP之记忆化搜索
题:Problem Description杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。不吉利的数字为所有含有4或62的号码。例如:62315 73418 88914都属于不吉利号码。但是,61152虽然含有原创 2014-03-02 16:58:34 · 831 阅读 · 0 评论 -
Bomb
DescriptionThe 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 current number原创 2014-09-06 19:50:23 · 532 阅读 · 0 评论 -
B-number
DescriptionA wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and can be divided by 13. For example, 130 and 2613 are wqb-numbers, but 14原创 2014-09-06 20:31:03 · 846 阅读 · 0 评论 -
poj3252Round Numbers
DescriptionThe cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, Stone' (also known as 'Rock, Paper, Scissors', 'Ro, Sham, Bo', and a host of other names) in原创 2014-09-06 21:05:08 · 582 阅读 · 0 评论
分享