Result

WA

Code [DL]

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

stdin

00000001
01110000
10001110
01011101
00000000
10100100
10101001
11010000
00110111
01111000
10110011
01011011
10000100
11111101
00110100
11010010
00001010
01010101
00101111
10111110
11001011
10101011
01101001
11111111
00101101
00110110
11110111
01001110
00011100
00000011
00000001
10101100
00010101
11001010
00010001
01110001
10001000
11111000
10011010
00000110
00001111
00100100
01000010
11100100
01011111
01011110
01011010
10011001
00011100
11100111

stdout

/tmp/code: Program not runnable, 1 errors.

stderr

/volume/CODE:2: Error: $fscanf() is a system function, it cannot be called as a task.

strace