Result

WA

Duration

673ms

Code [DL]

main(){char i[101];int b=100,c;for(gets(i);b;b--){if(1<i[100-b]-48<=9)continue;for(c=1<i[99-b]-48<=9?:1;c;c--)printf("%c",i[100-b]);}}

stdin

g6qqco2p9s2n5k5qr6u8p9y4b4q3mu5l9h6u4km6uj5u3v3op4s3d7tij2e4z8a4wp3f2xv4e7c6z7dw8a8k6r2

stdout

stderr

/tmp/code.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(){char i[101];int b=100,c;for(gets(i);b;b--){if(1<i[100-b]-48<=9)continue;for(c=1<i[99-b]-48<=9?:1;c;c--)printf("%c",i[100-b]);}}
 ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:36: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
 main(){char i[101];int b=100,c;for(gets(i);b;b--){if(1<i[100-b]-48<=9)continue;for(c=1<i[99-b]-48<=9?:1;c;c--)printf("%c",i[100-b]);}}
                                    ^~~~
/tmp/code.c:1:67: warning: comparison of constant '9' with boolean expression is always true [-Wbool-compare]
 main(){char i[101];int b=100,c;for(gets(i);b;b--){if(1<i[100-b]-48<=9)continue;for(c=1<i[99-b]-48<=9?:1;c;c--)printf("%c",i[100-b]);}}
                                                                   ^~
/tmp/code.c:1:55: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
 main(){char i[101];int b=100,c;for(gets(i);b;b--){if(1<i[100-b]-48<=9)continue;for(c=1<i[99-b]-48<=9?:1;c;c--)printf("%c",i[100-b]);}}
                                                      ~^~~~~~~~~~~~
/tmp/code.c:1:98: warning: comparison of constant '9' with boolean expression is always true [-Wbool-compare]
 main(){char i[101];int b=100,c;for(gets(i);b;b--){if(1<i[100-b]-48<=9)continue;for(c=1<i[99-b]-48<=9?:1;c;c--)printf("%c",i[100-b]);}}
                                                                                                  ^~
/tmp/code.c:1:87: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
 main(){char i[101];int b=100,c;for(gets(i);b;b--){if(1<i[100-b]-48<=9)continue;for(c=1<i[99-b]-48<=9?:1;c;c--)printf("%c",i[100-b]);}}
                                                                                      ~^~~~~~~~~~~
/tmp/code.c:1:102: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses]
 main(){char i[101];int b=100,c;for(gets(i);b;b--){if(1<i[100-b]-48<=9)continue;for(c=1<i[99-b]-48<=9?:1;c;c--)printf("%c",i[100-b]);}}
                                                                                                      ^
/tmp/code.c:1:111: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
 main(){char i[101];int b=100,c;for(gets(i);b;b--){if(1<i[100-b]-48<=9)continue;for(c=1<i[99-b]-48<=9?:1;c;c--)printf("%c",i[100-b]);}}
                                                                                                               ^~~~~~
/tmp/code.c:1:111: warning: incompatible implicit declaration of built-in function 'printf'
/tmp/code.c:1:111: note: include '<stdio.h>' or provide a declaration of 'printf'
+#include <stdio.h>
 main(){char i[101];int b=100,c;for(gets(i);b;b--){if(1<i[100-b]-48<=9)continue;for(c=1<i[99-b]-48<=9?:1;c;c--)printf("%c",i[100-b]);}}
                                                                                                               ^~~~~~

strace