Result

AC

Duration

566ms

Code [DL]

z=48;main(i){for(;i=getchar()-10;)putchar(z^=i%2);}

stdin

1101110111110100001101111110001101111000010011101001111111001101000011100011000000101000010011101111

stdout

1001011010100111110110101011110110101111100010110001010101110110000010111101111111001111100010110101

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 z=48;main(i){for(;i=getchar()-10;)putchar(z^=i%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=getchar()-10;)putchar(z^=i%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:21: warning: implicit declaration of function 'getchar' [-Wimplicit-function-declaration]
 z=48;main(i){for(;i=getchar()-10;)putchar(z^=i%2);}
                     ^~~~~~~
/tmp/code.c:1:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 z=48;main(i){for(;i=getchar()-10;)putchar(z^=i%2);}
 ^
/tmp/code.c:1:35: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
 z=48;main(i){for(;i=getchar()-10;)putchar(z^=i%2);}
                                   ^~~~~~~