Result

WA

Code [DL]

#include<string.h>
*s;main(){qsort(gets(s),100,1,cmp);puts(s);}

stdin

5860245686118397334648211391565544542882715347484414944263504464173251011386308042816665701108470045

stdout

stderr

/volume/CODE.c:2:1: warning: data definition has no type or storage class
 *s;main(){qsort(gets(s),100,1,cmp);puts(s);}
 ^
/volume/CODE.c:2:2: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int]
 *s;main(){qsort(gets(s),100,1,cmp);puts(s);}
  ^
/volume/CODE.c:2:4: warning: return type defaults to ‘int’ [-Wimplicit-int]
 *s;main(){qsort(gets(s),100,1,cmp);puts(s);}
    ^
/volume/CODE.c: In function ‘main’:
/volume/CODE.c:2:11: warning: implicit declaration of function ‘qsort’ [-Wimplicit-function-declaration]
 *s;main(){qsort(gets(s),100,1,cmp);puts(s);}
           ^
/volume/CODE.c:2:17: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 *s;main(){qsort(gets(s),100,1,cmp);puts(s);}
                 ^
/volume/CODE.c:2:31: error: ‘cmp’ undeclared (first use in this function)
 *s;main(){qsort(gets(s),100,1,cmp);puts(s);}
                               ^
/volume/CODE.c:2:31: note: each undeclared identifier is reported only once for each function it appears in
/volume/CODE.c:2:36: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 *s;main(){qsort(gets(s),100,1,cmp);puts(s);}
                                    ^
/home/esolang/bin/c-gcc: line 4: /tmp/code: No such file or directory

strace