Result

WA

Duration

900ms

Code [DL]

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

stdin

10000100000010010000001111000001111110011011000110

stdout

0000000000000000000000000000000100000000000000000

stderr

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

strace