
数位dp
Mannix_Y
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数字之积 (数位dp)
一个数x各个数位上的数之积记为f(x) <不含前导零> 求[L,R)中满足0<f(x)<=n的数的个数 Input 第一行一个数n 第二行两个数L、R Output 一个数,即满足条件的数的个数 Sample Input 5 19 22 Sample Output 1 Hint 100% 0<L<R<10^18 , n&l...原创 2019-01-10 21:00:16 · 2400 阅读 · 0 评论 -
Round Numbers(数位dp)
The 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 order to make...原创 2019-01-11 09:44:30 · 517 阅读 · 0 评论 -
B-number(数位dp)
A 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 143 and 2639 ar...原创 2019-01-07 11:41:53 · 660 阅读 · 0 评论 -
不要62(数位dp)
杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。 杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。 不吉利的数字为所有含有4或62的号码。例如: 62315 73418 88914 都属于不吉利号码。但是,61152虽然含有6和2,但不是62连号,所以不属于不吉利数字之...原创 2019-01-07 11:44:00 · 223 阅读 · 0 评论