数位DP
御堂和果子
这个作者很懒,什么都没留下…
展开
-
HDU 2089 不要62(暴力/数位DP)
原题传送门 题面 不要62 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。 杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消...原创 2019-03-12 18:04:53 · 109 阅读 · 0 评论 -
HDU 4135 Co-prime(数位DP+容斥原理)
原题传送门 题面: Problem Description Given a number N, you are asked to count the number of integers between A and B inclusive which are relatively prime to N. Two integers are said to be co-prime or relativ...原创 2019-03-12 18:06:15 · 146 阅读 · 0 评论