Result

WA

Code [DL]

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

stdin

01110001
11011110
10110010
01111000
11000111
01010001
00011100
11110011
11100111
01011011
01111100
00000000
00011011
00011101
01111000
01001010
11110001
00000110
10000111
10111110
00001010
11101111
11000000
10110000
00101101
01001110
00010010
00010101
01100011
11010010
00000001
10101011
00000011
01101001
10011001
10001111
01000010
01000100
01101010
00110111
10001000
11111101
10100010
10111011
01000110
00001111
10010100
01111011
00100100
00011100

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