Result

WA

Code [DL]

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

stdin

00100100
11110110
01111000
00001010
00000110
10010111
11000011
01011011
00101010
00001100
10001000
00011110
01001110
00011001
00000000
00001111
10111110
01010010
00110111
10111010
11010010
00010101
00011010
11111010
01110101
00100101
01000010
01111000
00101101
10001010
00001000
11010101
10011001
10101010
11110001
10000000
10101011
11111110
01110111
01101001
00011100
01010101
11100111
00001010
00000011
11111101
00110010
11101011
10001001
00000001

stdout

stderr

PHP Parse error:  syntax error, unexpected ',' in /volume/CODE on line 1

strace