by@iliss557_ort
WA
620ms
main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);}
f5s9m4i3j4p3oo2n4p9o6k7k9n2x2r7j6mg3l3h8a9d6e6d7k2x6c7v3svlz3b8j6e9qn2t7q3u4m7w9dy6p4u8y4j7f8
/tmp/code.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int] main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^~~~ /tmp/code.c: In function 'main': /tmp/code.c:1:20: error: 'b' undeclared (first use in this function) main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^ /tmp/code.c:1:20: note: each undeclared identifier is reported only once for each function it appears in /tmp/code.c:1:22: error: 'c' undeclared (first use in this function) main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^ /tmp/code.c:1:21: warning: left-hand operand of comma expression has no effect [-Wunused-value] main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^ /tmp/code.c:1:24: error: 'd' undeclared (first use in this function) main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^ /tmp/code.c:1:23: warning: left-hand operand of comma expression has no effect [-Wunused-value] main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^ /tmp/code.c:1:26: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration] main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^~~~ /tmp/code.c:1:45: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^~~~~~ /tmp/code.c:1:45: warning: incompatible implicit declaration of built-in function 'strlen' /tmp/code.c:1:45: note: include '<string.h>' or provide a declaration of 'strlen' +#include <string.h> main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^~~~~~ /tmp/code.c:1:54: warning: left-hand operand of comma expression has no effect [-Wunused-value] main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^ /tmp/code.c:1:112: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^~~~~~ /tmp/code.c:1:112: warning: incompatible implicit declaration of built-in function 'printf' /tmp/code.c:1:112: note: include '<stdio.h>' or provide a declaration of 'printf' +#include <stdio.h> main(){char i[101];b,c,d;gets(i);for(b=(int)strlen(i),d=b;b;b--)if(i[d-b]-48>9)for(c=1<i[d-b-1]-48<=9?:1;c;c--)printf("%c",i[d-b]);} ^~~~~~ /root/script: line 7: /tmp/code: not found rm: can't remove '/tmp/code': No such file or directory