Result

AC

Duration

888ms

Code [DL]

char s[99];
main(i){
gets(s);
for(i=0;i<50;i++)putchar(s[i]&s[i+5]&s[i+12]&s[i+17]&1|48);
}

stdin

10011101111000010101100000010010000010000000111010

stdout

00010000000000000000000000000000000000000000000000

stderr

/tmp/code.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(i){
 ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:2:1: warning: type of 'i' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:3:1: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
 gets(s);
 ^~~~
/tmp/code.c:4:18: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
 for(i=0;i<50;i++)putchar(s[i]&s[i+5]&s[i+12]&s[i+17]&1|48);
                  ^~~~~~~
/tmp/code.c:4:53: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
 for(i=0;i<50;i++)putchar(s[i]&s[i+5]&s[i+12]&s[i+17]&1|48);
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~

strace