Result

WA

Code [DL]

module cat;
	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", x);
		end
	end
endmodule

stdin

11110111
00100000
01000010
00000110
00101101
10111000
00011100
01010010
00111111
01011011
00001111
10001000
01010100
00000001
00001011
11001001
01001111
10101011
11111101
00100100
11001111
01001110
00011001
01111000
00010101
01100100
00000011
01011011
00000110
00001010
10010010
10111110
10010000
11100111
11100011
00110111
11010010
10001110
10100001
01100110
01010000
11110001
10111010
01101001
11011001
00000000
01010101
10011001
00110110
00000010

stdout

        247      -4848      -2416      -1088       -414        -91         40         36        126         63

stderr

strace