Result

WA

Code [DL]

int(*f)()="YXZQQQ\x8b\x00+\x02\xc3";main(p,s){gets(s);qsort(s,100,1,f);puts(s);}

stdin

6141554704308337914074787037599207682676590532626006207144926397102405958254782188585774507722909795

stdout

stderr

/volume/CODE.c:1:11: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
 int(*f)()="YXZQQQ\x8b\x00+\x02\xc3";main(p,s){gets(s);qsort(s,100,1,f);puts(s);}
           ^
/volume/CODE.c:1:37: warning: return type defaults to ‘int’ [-Wimplicit-int]
 int(*f)()="YXZQQQ\x8b\x00+\x02\xc3";main(p,s){gets(s);qsort(s,100,1,f);puts(s);}
                                     ^
/volume/CODE.c: In function ‘main’:
/volume/CODE.c:1:37: warning: type of ‘p’ defaults to ‘int’ [-Wimplicit-int]
/volume/CODE.c:1:37: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int]
/volume/CODE.c:1:47: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 int(*f)()="YXZQQQ\x8b\x00+\x02\xc3";main(p,s){gets(s);qsort(s,100,1,f);puts(s);}
                                               ^
/volume/CODE.c:1:55: warning: implicit declaration of function ‘qsort’ [-Wimplicit-function-declaration]
 int(*f)()="YXZQQQ\x8b\x00+\x02\xc3";main(p,s){gets(s);qsort(s,100,1,f);puts(s);}
                                                       ^
/volume/CODE.c:1:72: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 int(*f)()="YXZQQQ\x8b\x00+\x02\xc3";main(p,s){gets(s);qsort(s,100,1,f);puts(s);}
                                                                        ^
/tmp/ccRBwJsP.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 4:    11 Done                    cat -
        12 Segmentation fault      (core dumped) | /tmp/code

strace