Result

AC

Duration

867ms

Code [DL]

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

stdin

10110111111101011000110000000011011111011100111100

stdout

00010000000000000000000000000000000000000000000000

stderr

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