Result

WA

Code [DL]

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

stdin

0747080676302611080724271440150022075688385928517049743291542601803388147899886646362737623084320242

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(){gets(s);qsort(s,100,1,f);puts();}
 ^
/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(){gets(s);qsort(s,100,1,f);puts();}
                               ^
/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(){gets(s);qsort(s,100,1,f);puts();}
                                    ^
/volume/CODE.c: In function ‘main’:
/volume/CODE.c:1:43: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 f(char*a,char*b){return*a-*b;}s[1];main(){gets(s);qsort(s,100,1,f);puts();}
                                           ^
/volume/CODE.c:1:51: warning: implicit declaration of function ‘qsort’ [-Wimplicit-function-declaration]
 f(char*a,char*b){return*a-*b;}s[1];main(){gets(s);qsort(s,100,1,f);puts();}
                                                   ^
/volume/CODE.c:1:68: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 f(char*a,char*b){return*a-*b;}s[1];main(){gets(s);qsort(s,100,1,f);puts();}
                                                                    ^
/tmp/ccf0Zjby.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