Result

WA

Code [DL]

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

stdin

10111110
00000110
00100100
10110000
00010101
00001010
01100011
11010010
10001000
01110101
01011111
10111100
00000001
00111101
01001101
00000000
00000010
00101101
00010110
01010001
01101001
11100111
00011100
01111000
01010010
00001111
01001110
00111010
10011101
11100110
01011100
01001100
10101110
00110110
00110111
01000000
01110010
01000010
10101011
11111101
10001000
01011011
10010110
01100100
01001010
10011001
00000110
00100001
11011011
00000011

stdout

ERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
xERROR: /volume/CODE:1: invalid file descriptor (0x0) given to $fscanf.
x

stderr

strace