Result

WA

Code [DL]

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

stdin

9077042608132292083552893841121225167103773185937123548546187581569867050322881722502452181541047255

stdout

stderr

/volume/CODE.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 main(s){qsort(gets(s),100,1,strcmp);puts(s);}
 ^
/volume/CODE.c: In function ‘main’:
/volume/CODE.c:2:1: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int]
/volume/CODE.c:2:9: warning: implicit declaration of function ‘qsort’ [-Wimplicit-function-declaration]
 main(s){qsort(gets(s),100,1,strcmp);puts(s);}
         ^
/volume/CODE.c:2:15: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 main(s){qsort(gets(s),100,1,strcmp);puts(s);}
               ^
/volume/CODE.c:2:37: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 main(s){qsort(gets(s),100,1,strcmp);puts(s);}
                                     ^
/tmp/cc9PNfF0.o: In function `main':
CODE.c:(.text.startup+0x6): 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