- 博客(3)
- 收藏
- 关注
原创 HDU-3555 Bomb (数位dp)
Bomb 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 number ...
2019-01-12 21:22:28 144
原创 HDU-2089 不要62 (数位dp)
不要62 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。 杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。 不吉利的数字为所有含有4或62的号码。例如: 62315 73418 88914 都属于不吉利号码。但是,61152虽然含有6和2,但不是62连号,所以不属于...
2019-01-12 21:07:58 203
原创 Halloween treats (抽屉原理)
Halloween treats Every year there is the same problem at Halloween: Each neighbour is only willing to give a certain total number of sweets on that day, no matter how many children call on him, so...
2019-01-05 11:21:34 530
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人