FJNU.1903
Description
John Smith 决定给他地笔记本从1到n编页码,请统计用到的数中数字0,1,2,...9出现的次数
Input
一个整数 N (N<10000000)
Output
输出10行。第一行为0的次数,第二行为1的次数, 第十行为9的次数。
Sample Input
12
Sample Output
1
5
2
1
1
1
1
1
1
1
My Program
































YOYO's Note:
我模拟了一遍……每找到一个数就把它拆了来算数……
FJNU.1903
Description
John Smith 决定给他地笔记本从1到n编页码,请统计用到的数中数字0,1,2,...9出现的次数
Input
一个整数 N (N<10000000)
Output
输出10行。第一行为0的次数,第二行为1的次数, 第十行为9的次数。
Sample Input
12
Sample Output
1
5
2
1
1
1
1
1
1
1
My Program
YOYO's Note:
我模拟了一遍……每找到一个数就把它拆了来算数……