by@moratorium08
AC
char c,s[100],i;main(){read(0,&s,100);for(;10-c++;)for(i=100;i--;write(1,s+i,s[i]==c+47));}
1672523530964791047814188969023039671782229293383507493156183000540196764086339056840241643135497253
0000000000001111111111222222222333333333333334444444444555555556666666666777777778888888899999999999
/volume/CODE.c:1:17: warning: return type defaults to ‘int’ [-Wimplicit-int] char c,s[100],i;main(){read(0,&s,100);for(;10-c++;)for(i=100;i--;write(1,s+i,s[i]==c+47));} ^ /volume/CODE.c: In function ‘main’: /volume/CODE.c:1:24: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration] char c,s[100],i;main(){read(0,&s,100);for(;10-c++;)for(i=100;i--;write(1,s+i,s[i]==c+47));} ^ /volume/CODE.c:1:66: warning: implicit declaration of function ‘write’ [-Wimplicit-function-declaration] char c,s[100],i;main(){read(0,&s,100);for(;10-c++;)for(i=100;i--;write(1,s+i,s[i]==c+47));} ^ /volume/CODE.c:1:79: warning: array subscript has type ‘char’ [-Wchar-subscripts] char c,s[100],i;main(){read(0,&s,100);for(;10-c++;)for(i=100;i--;write(1,s+i,s[i]==c+47));} ^