Result

WA

Code [DL]

integer c,i,d,s;initial begin s=1<<31; c=$fgetc(s);while(!(&c))begin d=0;while(c!=10)begin d=d*2;d=d+c-48;c=$fgetc(s);end i=1;while(d>0)begin d=d-i;i=i+1;end if(d==0)begin $write("%d ",1);end else begin $write("%d ",0);end c=$fgetc(s);end end

stdin

10111110
01001110
10001010
01000000
01111000
00011101
11000101
01000010
11100111
10100111
00001111
10111110
01011011
11001010
10101100
10111111
00001010
11110110
00000100
00000001
11000000
01011101
10001000
00000011
11010001
11010010
10011001
10101011
00000000
11111101
10011111
11100100
00101101
00000110
01111010
00011100
10000001
11100110
11011010
01111100
00000000
00110101
01101110
00010011
00001101
11011011
00110111
00010101
00100100
01101001

stdout

stderr

/volume/CODE:1: syntax error
I give up.
/home/esolang/bin/verilog: line 4: /tmp/code: No such file or directory
rm: cannot remove '/tmp/code': No such file or directory

strace