Result

WA

Code [DL]

module c;integer c,d;initial begin repeat(50)begin d=0;repeat(9)begin d=d*2+c-48;c=1<<31;c=$fgetc(c);end for(c=1;d>0;c=c+1)d=d-c;$write(~|d);end end endmodule

stdin

00001010
00011001
01111000
11111101
01100011
10111110
00110000
10011001
10010010
00100100
11001101
01101000
11100111
01100100
01000010
01010100
01101001
10101010
11010110
00000011
10101110
00000000
10110101
10000111
10001000
00000001
00110011
01111000
10011010
10001100
00001010
01011011
00000100
01111101
01010110
00010101
00011010
11010010
00011100
00000110
11010100
00101101
10101011
10001110
01000000
10011011
01001110
00101000
00001111
00110111

stdout

x0000000000000000000000000000000000000000000000000

stderr

strace