Result

WA

Code [DL]

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

stdin

2718324853178631703305806394238005472670898291905536540917143683010902202339558306178621766998385458

stdout

stderr

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

strace