Result

WA

Code [DL]

f(char*a,char*b){return*a-*b;}s[1];main(){puts(qsort(gets(s),100,1,f));}

stdin

9582196563547716874323542718361216738204450434818861329758444667201115456657267581190429945934750843

stdout

stderr

/volume/CODE.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 f(char*a,char*b){return*a-*b;}s[1];main(){puts(qsort(gets(s),100,1,f));}
 ^
/volume/CODE.c:1:31: warning: data definition has no type or storage class
 f(char*a,char*b){return*a-*b;}s[1];main(){puts(qsort(gets(s),100,1,f));}
                               ^
/volume/CODE.c:1:31: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int]
/volume/CODE.c:1:36: warning: return type defaults to ‘int’ [-Wimplicit-int]
 f(char*a,char*b){return*a-*b;}s[1];main(){puts(qsort(gets(s),100,1,f));}
                                    ^
/volume/CODE.c: In function ‘main’:
/volume/CODE.c:1:43: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 f(char*a,char*b){return*a-*b;}s[1];main(){puts(qsort(gets(s),100,1,f));}
                                           ^
/volume/CODE.c:1:48: warning: implicit declaration of function ‘qsort’ [-Wimplicit-function-declaration]
 f(char*a,char*b){return*a-*b;}s[1];main(){puts(qsort(gets(s),100,1,f));}
                                                ^
/volume/CODE.c:1:54: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 f(char*a,char*b){return*a-*b;}s[1];main(){puts(qsort(gets(s),100,1,f));}
                                                      ^
/tmp/ccDUPtfJ.o: In function `main':
CODE.c:(.text.startup+0xc): 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