Result

WA

Code [DL]

module c;real d;initial while($fscanf(1<<31,"%b",d))$write($sqrt(d*8+2)%2>1);endmodule

stdin

00000001
00000011
00001010
00000110
10010000
01011011
10011001
10101011
11010111
01011111
10111110
01101111
11010010
11100100
10110011
01111000
01100011
11101100
11100111
00101101
00011100
01000010
00110111
00000110
10110000
11111101
00000000
00011011
00010111
01000100
11110111
10011110
10000101
01001110
00100100
11000010
10110110
01001111
01111001
11110000
00010101
11001100
01001011
11001110
01101001
00001111
01001110
00000111
10001000
10000010

stdout

11111111111110110111111111101101011101111000111110

stderr

strace