Result

AC

Code [DL]

<?php for($i=0;$i<50;$i++){$j=sqrt(8*bindec(fgets(STDIN))+1);echo 1^$j<=>floor($j);}?>

stdin

10001000
10110110
10101011
00010101
00110111
10000010
01011000
10000000
00000001
10101011
01000101
01001100
11010010
11111101
01010001
11000011
11101010
00000011
11010001
10011001
00001010
01000001
01111110
00111101
01001001
00011100
01011011
00001111
10000111
10111110
00010000
01001110
01111000
01110110
00101101
10000101
00000000
01101001
10101101
11100111
11010101
11101110
10110000
00110101
10101010
10010010
00100100
01011011
00000110
01000010

stdout

10111000110011000101100001110101101011010000001111

stderr

strace