N <tex2html_verbatim_mark>(1 < N < 10000) <tex2html_verbatim_mark>. After that, he counts the number of times each digit (0 to 9) appears in the sequence. For example, with N = 13 <tex2html_verbatim_mark>, the sequence is:
N <tex2html_verbatim_mark>.
0, 1,...9 <tex2html_verbatim_mark>separated by a space.
View Code