#P2602. [ZJOI2010] 数字计数
[ZJOI2010] 数字计数
Description
Given two positive integers and , count how many times each digit appears among all integers in .
Input Format
A single line containing two integers , as described above.
Output Format
A single line with ten integers, representing how many times appear in .
1 99
9 20 20 20 20 20 20 20 20 20
Hint
Constraints and Notes
- For of the testdata, it is guaranteed that .
- For of the testdata, it is guaranteed that .
Translated by ChatGPT 5
京公网安备 11011102002149号