#P280. 【例46.2】 数字统计
【例46.2】 数字统计
Description
Count the number of times the digit appears among all integers in the given range [, ].
For example, in the range [, ], the digit appears times: in the units place of and , and in the tens place of to .
Input Format
A single line with two numbers and representing the range, separated by a space.
Output Format
An integer representing the number of times the digit appears.
Sample
60 8012