Result

WA

Code [DL]

module a;
	integer c,i,j,x,y;
	initial begin
		for (i=0;i<10;i=i+1) begin
			x = 0;
			for (j=0;j<8;j=j+1) begin
				x = x * 2 + $fgetc(32'h8000_0000) - 48;
			end
			$write("%d\n", x);
		end
	end
endmodule

stdin

01001011
01001110
11010010
11111101
11001000
00111001
01101001
01111000
00000110
00001111
01101010
01011101
01111100
00000011
00110111
00010101
10011001
10001010
10101011
11101100
11010011
00011100
10111101
00000000
10001100
01011000
10110101
00101101
00110101
10011001
11010010
01000010
01011011
00001011
10001000
11100111
11110100
10101000
11011010
00000101
10011100
00001010
10010001
00100100
01011110
00010001
01011111
00110010
10111110
00000001

stdout

         75
      -4825
      -2380
      -1057
       -436
       -175
         49
         88
        202
          6

stderr

strace