阅读背景:

[暑假集训--数位dp]LightOj1032 Fast Bit Calculations_weixin_30929011的博客

来源:互联网 

A bit is a binary digit, taking a logical value of either 1 or 0 (also referred to as "true" or "false" respectively). And every decimal number has a binary representation which is actually a series of bits. If a bit of a number is 1 and its next bit is also 1 then we can say that the number has a 1 adjacent bit. And you have to find out how many times this scenario occurs for all numbers up to N.A bit is a binary digit, taking a logical v




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: