Result

AC

Duration

880ms

Code [DL]

char*s,v[99];main(){for(gets(s=v);*s;)putchar((s[5]+s[12]+s[17]+*s++>195)+48);}

stdin

10001000011110000100010100100110010100110001001111

stdout

00000000000000000000010000000000000000000000000000

stderr

/tmp/code.c:1:14: warning: return type defaults to 'int' [-Wimplicit-int]
 char*s,v[99];main(){for(gets(s=v);*s;)putchar((s[5]+s[12]+s[17]+*s++>195)+48);}
              ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:25: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
 char*s,v[99];main(){for(gets(s=v);*s;)putchar((s[5]+s[12]+s[17]+*s++>195)+48);}
                         ^~~~
/tmp/code.c:1:39: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
 char*s,v[99];main(){for(gets(s=v);*s;)putchar((s[5]+s[12]+s[17]+*s++>195)+48);}
                                       ^~~~~~~
/tmp/code.c:1:67: warning: operation on 's' may be undefined [-Wsequence-point]
 char*s,v[99];main(){for(gets(s=v);*s;)putchar((s[5]+s[12]+s[17]+*s++>195)+48);}
                                                                  ~^~
/tmp/code.c:1:67: warning: operation on 's' may be undefined [-Wsequence-point]
/tmp/code.c:1:67: warning: operation on 's' may be undefined [-Wsequence-point]

strace