Result

WA

Code [DL]

<?php for(;$c=fgets(STDIN);){echo 1^(sqrt(8*bindec($c)+1)%1>0);}

stdin

00000110
11101101
00001111
11111000
00011011
00010101
10011000
10011001
10011001
01100010
01001110
10001000
10001001
01111011
00110011
11010010
10111110
00011100
10011011
11011011
00110111
10111110
00000001
10101011
11110110
10101111
00100011
10000010
00110101
00100001
11111010
00001110
11111101
01011011
00000011
00101101
11100111
00100100
01101001
01000010
10100001
10000001
01111000
00001101
00001011
11101011
10000000
00001010
00000000
01110001

stdout

11111111111111111111111111111111111111111111111111

stderr

strace