Result

WA

Duration

894ms

Code [DL]

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

stdin

10110100000100111101101101011100010101100000000101

stdout

000000000001000000000000000000000

stderr

/tmp/code.c:1:12: warning: return type defaults to 'int' [-Wimplicit-int]
 char s[99];main(i){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:12: warning: type of 'i' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:24: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
 char s[99];main(i){for(gets(s);i<51;i++)putchar(s[i-1]&s[i+4]&s[i+11]&s[i+16]);}
                        ^~~~
/tmp/code.c:1:41: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
 char s[99];main(i){for(gets(s);i<51;i++)putchar(s[i-1]&s[i+4]&s[i+11]&s[i+16]);}
                                         ^~~~~~~

strace