One day, Ks raised a question in this contest. How many times the digit 7texttt{7}7 appears in the integer range of [0, n]?
One day, Ks raised a question in this contest. How many times the digit 7texttt{7}7 appears in the integer range of [0, n]? The answer may be very large, please output the answer modulo 1 000 000 0071,000,000,0071000000007.
(图片来源网络,侵删)
标签: HBC206672777题解