数字统计

/*部分代码,统计数字问题*/
for(i=1;i<=n;i++)
{t=i;
while(t) /*t不等于0*/
{count[t%10]++;

t=t/10;

posted @ 2016-03-08 22:10  家明  阅读(167)  评论(0)    收藏  举报