Result

WA

Code [DL]

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

stdin

9558802750827135887106353335728693122200538060434722897177675037634076993171722753809618641135212218

stdout

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 s;main(){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}
 ^
/tmp/code.c:1:1: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int]
/tmp/code.c:1:3: warning: return type defaults to ‘int’ [-Wimplicit-int]
 s;main(){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}
   ^
/tmp/code.c: In function ‘main’:
/tmp/code.c:1:10: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
 s;main(){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}
          ^
/tmp/code.c:1:17: warning: implicit declaration of function ‘qsort’ [-Wimplicit-function-declaration]
 s;main(){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}
                 ^
/tmp/code.c:1:23: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 s;main(){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}
                       ^
/tmp/code.c:1:46: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 s;main(){strcmp(qsort(gets(s),100,1,strcmp));puts(s);}
                                              ^
/tmp/ccaxx05P.o: In function `main':
code.c:(.text.startup+0xd): 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