1

#include<stdio.h>
int main()
{
 int x,count,i;
 int a[5];
 scanf("%d",&x);
 count=0;
 while(x!=0){
 printf("%d",x%10);
 x=x/10;
 count++;
 }
 printf("%d\n",count);
 return 0;
}

 

 

posted @ 2013-12-09 09:56  墨墨萧萧  阅读(83)  评论(0编辑  收藏  举报