Result

WA

Code [DL]

module a;real x,y;initial repeat(50)begin
y=$fscanf(1<<31,"%b",x);
$write("%d",(8*x**0.5+1)%2);
end endmodule

stdin

11110000
11111101
11010010
11001010
01110000
00110111
00011110
00101101
10000000
01001110
00000000
01010100
00001101
10100101
00010101
00000011
01101001
00101100
01011010
00000001
00011100
10111110
11011000
11010101
00001010
01110011
01101011
01011011
11100111
00001111
01010110
00101101
10101011
00000111
10101110
11101010
10011001
01000010
11100111
01100010
10111000
11110101
11011101
10100010
10001010
10001000
00000110
00100100
10100000
01111000

stdout

10112011221022211011111201211211201122102021101101

stderr

strace