[USACO06DEC] 梦中的统计 Dream Counting B
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
Description
Bessie's mind is sharp, as if she vividly sees each number she has counted. She starts to pay attention to every digit (): how many times does each digit appear during the counting process?
Given two integers and , determine how many times each digit appears in the sequence .
Input Format
Line : Two integers and separated by a space.
Output Format
Line : Ten integers separated by spaces, representing how many times the digits appear in the sequence.
129 137
1 10 2 9 1 1 1 1 0 1
Hint
Constraints: , .
Translated by ChatGPT 5
京公网安备 11011102002149号