SP3928 MDIGITS - Counting Digits
Description
[English](/problems/MDIGITS/en/) [Vietnamese](/problems/MDIGITS/vn/)Given two integers a and b, we write the numbers between a and b, inclusive, in a list. Your task is to calculate the number of occurrences of each digit.
For example, if a = 1024 and b = 1032, the list will be 1024 1025 1026 1027 1028 1029 1030 1031 1032 there are ten 0s in the list, ten 1s, seven 2s, three 3s, and etc.
Input Format
N/A
Output Format
N/A