Result

WA

Code [DL]

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

stdin

00111010
00001111
00010001
01000011
00000100
10010001
10101100
00000001
00111111
01000010
11111101
00011100
01011011
11000100
10111101
00000001
10011001
10011001
10011100
10110001
11010111
01001110
10010000
11101101
00100100
10111110
00110111
00101101
11010010
10101011
11100111
10010011
01100010
00100010
10001000
00000110
00010101
01111000
10010010
11100100
01001111
00000011
00000010
00001101
01100110
00001010
10101001
11010001
01101001
00000000

stdout

010000010111100111000100111111100011110001000100111

stderr

strace