Result

WA

Code [DL]

while a=gets;p (1+8*a.to_i 2)**0.5%1 ?0:1;end

stdin

11010011
11100010
00001010
00000011
10011001
10010111
00010101
10111110
00000100
11000111
11000010
11100001
00011010
11111101
00111001
00100100
00110111
00110011
00000110
01011011
00000101
11101100
11010010
00000001
00011100
00101100
01000001
10011101
00000000
01101001
01110101
10101111
01101001
00000110
00101101
00001011
10101011
01000010
00001111
10000010
10001100
10110011
00111100
10001000
11100111
01001110
01010001
01111000
00111000
01010100

stdout

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

stderr

strace