![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数位dp
zero_one_Machel
这个作者很懒,什么都没留下…
展开
-
C - 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...原创 2019-08-14 20:27:12 · 198 阅读 · 0 评论 -
Balanced Numbers(好久没有1A了,激动死了)
看不懂我写的哪个字了,哪句话了,哪段代码了,欢迎提出来啦,大家一起学习一起进步啦欢迎下方留言区交流耐心读完你应该会懂得题目,先认真读懂题了,下面有题意的解析Balanced numbers have been used by mathematicians for centuries. A positive integer is considered a balanced number if...原创 2019-08-15 21:11:26 · 150 阅读 · 0 评论 -
F(x)(数位dp)解决超时哈哈哈
For a decimal number x with n digits (A nA n-1A n-2 … A 2A 1), we define its weight as F(x) = A n * 2 n-1 + A n-1 * 2 n-2 + … + A 2 * 2 + A 1 * 1. Now you are given two numbers A and B, please calcula...原创 2019-08-15 20:40:23 · 219 阅读 · 0 评论