Result

WA

Code [DL]

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

stdin

01110100
10001101
11100111
00101000
11111101
01011011
01101010
11100011
01000011
00101100
00000000
01000101
01001010
11110010
00100101
10010001
10100000
11111000
00000110
00000001
00011100
00000000
10011010
00001010
10111100
01001100
01001110
01110101
00100100
10111110
00011100
11101111
11010010
00000011
00001000
00010101
00101101
00001111
00000010
10101011
00110111
01101001
01110110
11111011
01000010
01111000
10001000
01100001
01010001
10011001

stdout

00000000101000000001010100001000000101000000101000

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()&1;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()&1;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()&1;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()&1;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()&1;for(i/=2;i>0;)i-=++b;putchar(48+!i);}}
                                                  ^
/tmp/code.c:1:59: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
 i;a;b;main(){for(;a++<50;){for(i=0,b=9;b--;)i+=i|getchar()&1;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()&1;for(i/=2;i>0;)i-=++b;putchar(48+!i);}}
                                                                                   ^

strace