Result

WA

Code [DL]

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

stdin

8514583390459195301312269472377791818036550620741595548968109410205172879117858165559966461798056873

stdout

stderr

/volume/CODE.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 f(int*a){return*a-*1[&a];}main(p,s){gets(s);qsort(s,100,1,f);puts(s);}
 ^
/volume/CODE.c:1:27: warning: return type defaults to ‘int’ [-Wimplicit-int]
 f(int*a){return*a-*1[&a];}main(p,s){gets(s);qsort(s,100,1,f);puts(s);}
                           ^
/volume/CODE.c: In function ‘main’:
/volume/CODE.c:1:27: warning: type of ‘p’ defaults to ‘int’ [-Wimplicit-int]
/volume/CODE.c:1:27: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int]
/volume/CODE.c:1:37: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 f(int*a){return*a-*1[&a];}main(p,s){gets(s);qsort(s,100,1,f);puts(s);}
                                     ^
/volume/CODE.c:1:45: warning: implicit declaration of function ‘qsort’ [-Wimplicit-function-declaration]
 f(int*a){return*a-*1[&a];}main(p,s){gets(s);qsort(s,100,1,f);puts(s);}
                                             ^
/volume/CODE.c:1:62: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 f(int*a){return*a-*1[&a];}main(p,s){gets(s);qsort(s,100,1,f);puts(s);}
                                                              ^
/tmp/ccMsO849.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