Result

WA

Code [DL]

int i,a,b;main(){for(;a<50;a++){b=9;while(b--)i=i*2|getchar()&1;i/=2;while(i>0)i-=++b;putchar(i?48:49);}}

stdin

11111101
01000010
00111011
11000101
01101111
10011010
10001000
00000000
00101111
01111000
00010101
01011011
10000010
11101111
10111110
00101101
00111001
00000011
00000110
00111110
01011111
01111111
00001010
01000100
00110111
10101011
11100110
01101001
11000111
01001110
11100111
00001111
00000001
10011001
11010010
00100100
00110000
10110111
00100010
11011000
00000110
10111110
10101001
10111111
01100100
01110001
01001010
01101100
00011100
00100111

stdout

11000000000000000000000000000000000000000000000000

stderr

/tmp/code.c:1:11: warning: return type defaults to ‘int’ [-Wimplicit-int]
 int i,a,b;main(){for(;a<50;a++){b=9;while(b--)i=i*2|getchar()&1;i/=2;while(i>0)i-=++b;putchar(i?48:49);}}
           ^
/tmp/code.c: In function ‘main’:
/tmp/code.c:1:53: warning: implicit declaration of function ‘getchar’ [-Wimplicit-function-declaration]
 int i,a,b;main(){for(;a<50;a++){b=9;while(b--)i=i*2|getchar()&1;i/=2;while(i>0)i-=++b;putchar(i?48:49);}}
                                                     ^
/tmp/code.c:1:62: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
 int i,a,b;main(){for(;a<50;a++){b=9;while(b--)i=i*2|getchar()&1;i/=2;while(i>0)i-=++b;putchar(i?48:49);}}
                                                              ^
/tmp/code.c:1:87: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
 int i,a,b;main(){for(;a<50;a++){b=9;while(b--)i=i*2|getchar()&1;i/=2;while(i>0)i-=++b;putchar(i?48:49);}}
                                                                                       ^

strace