要求:待检查的整数从键盘输入,若输入的整数中有重复数字,则输出“Repeated!”,同时统计重复数字出现的次数,并按从小到大输出;否则输出“No Rep
#includeintmain(){inti=0,c=0,k,n,d,j;inta[i];scanf("%d",&n);while(n){k=n%10;a[i]=k;n/=10;c++;/n是几位数/i++;/i的递增/}for(j=0;j=2){printf("%d%d\n",j,d);}}}}return0;}#includeintmain(){inti=0,c=0,n,k;inta[9]={