Result

AC

Code [DL]

i;a;b;main(){for(;a++<50;){for(i=0,b=9;b--;)i+=i+getchar()%2;for(i/=2;i>0;)i-=++b;putchar(48+!i);}}

stdin

11010011
10001001
10111110
10101011
11000001
10111001
01101001
11111101
01110110
01001110
11100100
00001010
11010010
00011000
01110001
00010101
01000011
10001000
00101101
01011001
10011101
00010111
00100100
11000110
00000010
01011011
00000110
11101000
00000001
00011100
10011100
11100111
11100010
00000000
11010000
00001111
01000010
01000010
00000100
00000011
11001110
10011001
00001100
01111111
01111000
00111100
11001000
00110111
01001101
00000110

stdout

00110011010110010110001001101101010111010100100101

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 i;a;b;main(){for(;a++<50;){for(i=0,b=9;b--;)i+=i+getchar()%2;for(i/=2;i>0;)i-=++b;putchar(48+!i);}}
 ^
/tmp/code.c:1:1: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int]
/tmp/code.c:1:3: warning: data definition has no type or storage class
 i;a;b;main(){for(;a++<50;){for(i=0,b=9;b--;)i+=i+getchar()%2;for(i/=2;i>0;)i-=++b;putchar(48+!i);}}
   ^
/tmp/code.c:1:3: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int]
/tmp/code.c:1:5: warning: data definition has no type or storage class
 i;a;b;main(){for(;a++<50;){for(i=0,b=9;b--;)i+=i+getchar()%2;for(i/=2;i>0;)i-=++b;putchar(48+!i);}}
     ^
/tmp/code.c:1:5: warning: type defaults to ‘int’ in declaration of ‘b’ [-Wimplicit-int]
/tmp/code.c:1:7: warning: return type defaults to ‘int’ [-Wimplicit-int]
 i;a;b;main(){for(;a++<50;){for(i=0,b=9;b--;)i+=i+getchar()%2;for(i/=2;i>0;)i-=++b;putchar(48+!i);}}
       ^
/tmp/code.c: In function ‘main’:
/tmp/code.c:1:50: warning: implicit declaration of function ‘getchar’ [-Wimplicit-function-declaration]
 i;a;b;main(){for(;a++<50;){for(i=0,b=9;b--;)i+=i+getchar()%2;for(i/=2;i>0;)i-=++b;putchar(48+!i);}}
                                                  ^
/tmp/code.c:1:83: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
 i;a;b;main(){for(;a++<50;){for(i=0,b=9;b--;)i+=i+getchar()%2;for(i/=2;i>0;)i-=++b;putchar(48+!i);}}
                                                                                   ^

strace