Result

WA

Code [DL]

#include<stdio.h>
s[1];main(){qsort(gets(s),100,1,strcmp);puts(s);}

stdin

8609132939077973929273863493042151018861162193108512790095599479683615226206586237255214813471758805

stdout

stderr

/volume/CODE.c:2:1: warning: data definition has no type or storage class
 s[1];main(){qsort(gets(s),100,1,strcmp);puts(s);}
 ^
/volume/CODE.c:2:1: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int]
/volume/CODE.c:2:6: warning: return type defaults to ‘int’ [-Wimplicit-int]
 s[1];main(){qsort(gets(s),100,1,strcmp);puts(s);}
      ^
/volume/CODE.c: In function ‘main’:
/volume/CODE.c:2:13: warning: implicit declaration of function ‘qsort’ [-Wimplicit-function-declaration]
 s[1];main(){qsort(gets(s),100,1,strcmp);puts(s);}
             ^
/volume/CODE.c:2:1: warning: ‘gets’ is deprecated [-Wdeprecated-declarations]
 s[1];main(){qsort(gets(s),100,1,strcmp);puts(s);}
 ^
In file included from /usr/include/stdio.h:936:0,
                 from /volume/CODE.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:233:1: note: declared here
 gets (char *__str)
 ^
/volume/CODE.c:2:24: warning: passing argument 1 of ‘gets’ from incompatible pointer type [-Wincompatible-pointer-types]
 s[1];main(){qsort(gets(s),100,1,strcmp);puts(s);}
                        ^
In file included from /usr/include/stdio.h:936:0,
                 from /volume/CODE.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:233:1: note: expected ‘char *’ but argument is of type ‘int *’
 gets (char *__str)
 ^
/volume/CODE.c:2:33: error: ‘strcmp’ undeclared (first use in this function)
 s[1];main(){qsort(gets(s),100,1,strcmp);puts(s);}
                                 ^
/volume/CODE.c:2:33: note: each undeclared identifier is reported only once for each function it appears in
/volume/CODE.c:2:46: warning: passing argument 1 of ‘puts’ from incompatible pointer type [-Wincompatible-pointer-types]
 s[1];main(){qsort(gets(s),100,1,strcmp);puts(s);}
                                              ^
In file included from /volume/CODE.c:1:0:
/usr/include/stdio.h:695:12: note: expected ‘const char *’ but argument is of type ‘int *’
 extern int puts (const char *__s);
            ^
/home/esolang/bin/c-gcc: line 4: /tmp/code: No such file or directory

strace