
数位dp
ACM__dongsheng
在校大学生
展开
-
hdu 2089 不要62
Problem Description 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。 杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。 不吉利的数字为所有含有4或62的号码。例如: 62315 73418 88914 都属于不吉利号码。但是,61152虽然含有6和2原创 2016-03-10 21:04:59 · 365 阅读 · 0 评论 -
hdu 3555 Bomb
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 current原创 2016-03-12 11:20:33 · 394 阅读 · 0 评论 -
玲珑oj Digital Count
DESCRIPTIONGiven three integers a, b, P, count the total number of digit P appearing in all integers from a to b.INPUT The first line is a single integer T , indicating the number of test cases. For原创 2017-01-16 09:35:56 · 208 阅读 · 0 评论