#Q171. 「一本通 5.3 练习 4」数字计数
「一本通 5.3 练习 4」数字计数
Description
Original source: ZJOI 2010
Given two positive integers and , find how many times each digit (0-9) appears in all integers within the interval .
Input Format
The input consists of a single line containing two integers and , as described above.
Output Format
Output a single line with integers, representing the count of digits through in the interval .
Sample 1
1 99
9 20 20 20 20 20 20 20 20 20
Constraints & Hints
For of the test cases, ;
For of the test cases, .