Result

WA

Code [DL]

#include<string.h>
main(p,s){qsort(gets(s),100,1,strcmp);puts(s);}

stdin

9314232494988956284943301058177761212630478867594927317440618290351185027508507494999775155071881548

stdout

stderr

/volume/CODE.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 main(p,s){qsort(gets(s),100,1,strcmp);puts(s);}
 ^
/volume/CODE.c: In function ‘main’:
/volume/CODE.c:2:1: warning: type of ‘p’ defaults to ‘int’ [-Wimplicit-int]
/volume/CODE.c:2:1: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int]
/volume/CODE.c:2:11: warning: implicit declaration of function ‘qsort’ [-Wimplicit-function-declaration]
 main(p,s){qsort(gets(s),100,1,strcmp);puts(s);}
           ^
/volume/CODE.c:2:17: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 main(p,s){qsort(gets(s),100,1,strcmp);puts(s);}
                 ^
/volume/CODE.c:2:39: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 main(p,s){qsort(gets(s),100,1,strcmp);puts(s);}
                                       ^
/tmp/ccUZSFM3.o: In function `main':
CODE.c:(.text.startup+0x8): warning: the `gets' function is dangerous and should not be used.
/home/esolang/bin/c-gcc: line 4:    11 Done                    cat -
        12 Segmentation fault      (core dumped) | /tmp/code

strace