Result

WA

Code [DL]

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

stdin

00000000
00101001
11010010
10010000
10010010
10101100
10101011
10111110
00001111
11011111
01011000
10101111
00100100
10001000
01111111
10101000
01010001
10000001
01110101
01001111
01001110
01101001
01101001
10000000
01111000
10110101
10011001
10111111
00010101
00001000
11111101
00110111
01011011
00000011
00011100
00101101
10111101
00000110
01000010
10100011
10111100
11100111
11001000
10100000
10101001
00000001
11100100
00001010
00000001
11010111

stdout

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

stderr

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

strace