Result

WA

Duration

867ms

Code [DL]

main(i,s){for(gets(s);i<51;i++)putchar(s[i-1]&s[i+4]&s[i+11]&s[i+16]);}

stdin

10001000100001100001000001000001010010110001000011

stdout

stderr

/tmp/code.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(i,s){for(gets(s);i<51;i++)putchar(s[i-1]&s[i+4]&s[i+11]&s[i+16]);}
 ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:1: warning: type of 'i' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:1: warning: type of 's' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:15: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
 main(i,s){for(gets(s);i<51;i++)putchar(s[i-1]&s[i+4]&s[i+11]&s[i+16]);}
               ^~~~
/tmp/code.c:1:32: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
 main(i,s){for(gets(s);i<51;i++)putchar(s[i-1]&s[i+4]&s[i+11]&s[i+16]);}
                                ^~~~~~~
/tmp/code.c:1:41: error: subscripted value is neither array nor pointer nor vector
 main(i,s){for(gets(s);i<51;i++)putchar(s[i-1]&s[i+4]&s[i+11]&s[i+16]);}
                                         ^
/tmp/code.c:1:48: error: subscripted value is neither array nor pointer nor vector
 main(i,s){for(gets(s);i<51;i++)putchar(s[i-1]&s[i+4]&s[i+11]&s[i+16]);}
                                                ^
/tmp/code.c:1:55: error: subscripted value is neither array nor pointer nor vector
 main(i,s){for(gets(s);i<51;i++)putchar(s[i-1]&s[i+4]&s[i+11]&s[i+16]);}
                                                       ^
/tmp/code.c:1:63: error: subscripted value is neither array nor pointer nor vector
 main(i,s){for(gets(s);i<51;i++)putchar(s[i-1]&s[i+4]&s[i+11]&s[i+16]);}
                                                               ^
/root/script: line 7: /tmp/code: not found
rm: can't remove '/tmp/code': No such file or directory