Result

WA

Code [DL]

main(s){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}

stdin

9446869207126920256359135606240523290254178845266928283032130697590311685884077321483430986232310109

stdout

stderr

/tmp/code.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 main(s){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}
 ^
/tmp/code.c: In function ‘main’:
/tmp/code.c:1:1: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int]
/tmp/code.c:1:9: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
 main(s){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}
         ^
/tmp/code.c:1:16: warning: implicit declaration of function ‘qsort’ [-Wimplicit-function-declaration]
 main(s){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}
                ^
/tmp/code.c:1:22: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 main(s){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}
                      ^
/tmp/code.c:1:45: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 main(s){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}
                                             ^
/tmp/cczX3hpf.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 6:    13 Done                    cat -
        14 Segmentation fault      (core dumped) | /tmp/code

strace