Result

AC

Code [DL]

module c;integer c,d;initial begin repeat(50)begin for(c=$fscanf(1<<31,"%b",d);d>0;c=c+1)d=d-c;$write(~|d);end end endmodule

stdin

11000110
01001110
01000010
11010010
00001010
10011111
10111010
10100011
00000110
11010001
11111101
10101011
11100111
10111100
10000111
01111000
00100100
00101000
10111110
01011011
10001010
01110010
00010010
01010010
00110000
00000001
11011001
11100010
00000011
00000110
01011100
00001111
10101011
01100110
00000000
10000010
10001000
00101101
00011100
01101001
10100100
11000101
00010110
00010101
11111110
10101101
00110111
01010001
10011001
00010011

stdout

01111000101110011011000001001101101011110001001010

stderr

strace