Result

AC

Duration

611ms

Code [DL]

z=48;main(i){for(;i++<101;)putchar(z^=getchar()%2);}

stdin

0110001100011101000000110111100001100000111000010001001011101110111101011011100001101011100000111001

stdout

0100001000010110000000100101000001000000101111100001110010110100101001101101000001001101000000101110

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 z=48;main(i){for(;i++<101;)putchar(z^=getchar()%2);}
 ^
/tmp/code.c:1:1: warning: type defaults to 'int' in declaration of 'z' [-Wimplicit-int]
/tmp/code.c:1:6: warning: return type defaults to 'int' [-Wimplicit-int]
 z=48;main(i){for(;i++<101;)putchar(z^=getchar()%2);}
      ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:6: warning: type of 'i' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:28: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
 z=48;main(i){for(;i++<101;)putchar(z^=getchar()%2);}
                            ^~~~~~~
/tmp/code.c:1:39: warning: implicit declaration of function 'getchar' [-Wimplicit-function-declaration]
 z=48;main(i){for(;i++<101;)putchar(z^=getchar()%2);}
                                       ^~~~~~~

strace