#P1980. [NOIP 2013 普及组] 计数问题
[NOIP 2013 普及组] 计数问题
Description
Compute how many times the digit () appears among all integers from to . For example, among to , i.e., in , the digit appears times.
Input Format
Two integers and , separated by a single space.
Output Format
One integer, representing the number of times appears.
11 1
4
Hint
For of the testdata, , .
Translated by ChatGPT 5
京公网安备 11011102002149号