Result

WA

Code [DL]

<?php for($i=0;$i<50;$i++){echo 1*!(sqrt(8*bindec(fgets(STDIN))+1)%1);

stdin

01000011
10011001
11111010
00000011
10000111
00000000
01011011
11001010
00110111
00010101
00001011
10010100
10000101
00000001
00001010
10110110
10101011
11101100
00001001
01000010
00001111
10110000
00111111
11111101
00100100
01011110
00011001
00000110
01001110
01111000
10111110
11100111
11011010
10001000
01101001
10001000
01001100
10010011
01100111
00101101
10111110
11000100
00100110
00010001
00011100
00011011
10101010
10110111
11010010
01011101

stdout

stderr

PHP Parse error:  syntax error, unexpected end of file in /volume/CODE on line 1

strace