Result

WA

Code [DL]

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

stdin

3962179569471230176423713926385056237246952972115998165265342648725801278327771676405355758514170742

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:46: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 main(s){strcmp(qsort(gets(&s),100,1,strcmp));puts(&s);}
                                              ^
/tmp/cceCfwlk.o: In function `main':
code.c:(.text.startup+0x10): 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