by@moratorium08
AC
char c,s[10],i=100;main(){while(i--){read(0,&c,1);s[c-48]++;}for(;i<10;i++){while(s[i]--)printf("%d",i);}}
8293271570133066896990336598139698055148221266063473759119603860934857126930275273296216423502757983
0000000001111111112222222222223333333333333344445555555556666666666666777777777888888889999999999999
/volume/CODE.c:1:20: warning: return type defaults to ‘int’ [-Wimplicit-int] char c,s[10],i=100;main(){while(i--){read(0,&c,1);s[c-48]++;}for(;i<10;i++){while(s[i]--)printf("%d",i);}} ^ /volume/CODE.c: In function ‘main’: /volume/CODE.c:1:38: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration] char c,s[10],i=100;main(){while(i--){read(0,&c,1);s[c-48]++;}for(;i<10;i++){while(s[i]--)printf("%d",i);}} ^ /volume/CODE.c:1:84: warning: array subscript has type ‘char’ [-Wchar-subscripts] char c,s[10],i=100;main(){while(i--){read(0,&c,1);s[c-48]++;}for(;i<10;i++){while(s[i]--)printf("%d",i);}} ^ /volume/CODE.c:1:90: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] char c,s[10],i=100;main(){while(i--){read(0,&c,1);s[c-48]++;}for(;i<10;i++){while(s[i]--)printf("%d",i);}} ^ /volume/CODE.c:1:90: warning: incompatible implicit declaration of built-in function ‘printf’ /volume/CODE.c:1:90: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’