Result

WA

Duration

926ms

Code [DL]

char*s;v[9];main(){for(gets(s=v);*s;)putchar(s[5]&s[12]&s[17]&*s++|48);}

stdin

11111111011100010010110011011011001010111111110110

stdout

stderr

/tmp/code.c:1:8: warning: data definition has no type or storage class
 char*s;v[9];main(){for(gets(s=v);*s;)putchar(s[5]&s[12]&s[17]&*s++|48);}
        ^
/tmp/code.c:1:8: warning: type defaults to 'int' in declaration of 'v' [-Wimplicit-int]
/tmp/code.c:1:13: warning: return type defaults to 'int' [-Wimplicit-int]
 char*s;v[9];main(){for(gets(s=v);*s;)putchar(s[5]&s[12]&s[17]&*s++|48);}
             ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:24: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
 char*s;v[9];main(){for(gets(s=v);*s;)putchar(s[5]&s[12]&s[17]&*s++|48);}
                        ^~~~
/tmp/code.c:1:30: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 char*s;v[9];main(){for(gets(s=v);*s;)putchar(s[5]&s[12]&s[17]&*s++|48);}
                              ^
/tmp/code.c:1:38: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
 char*s;v[9];main(){for(gets(s=v);*s;)putchar(s[5]&s[12]&s[17]&*s++|48);}
                                      ^~~~~~~
/tmp/code.c:1:62: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
 char*s;v[9];main(){for(gets(s=v);*s;)putchar(s[5]&s[12]&s[17]&*s++|48);}
                                              ~~~~~~~~~~~~~~~~^~~~~
/tmp/code.c:1:65: warning: operation on 's' may be undefined [-Wsequence-point]
 char*s;v[9];main(){for(gets(s=v);*s;)putchar(s[5]&s[12]&s[17]&*s++|48);}
                                                                ~^~
/tmp/code.c:1:65: warning: operation on 's' may be undefined [-Wsequence-point]
/tmp/code.c:1:65: warning: operation on 's' may be undefined [-Wsequence-point]
Segmentation fault (core dumped)