by@progrunner17
WA
module c;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)begin$write("0 ");end else begin $write("1 ");end c=$fgetc(s);end end endmodule
10010001 01010001 00010101 11100101 00001011 11111010 10001010 11111001 11111101 00101011 00000011 11100111 01000010 11011011 10000011 00100100 10111110 10010111 00000000 01001110 01101000 10101011 00001010 00100011 10001011 11111111 10011001 10011100 00000001 01101001 00011100 01111000 01011100 00000000 01000010 11010111 01011011 00001111 11010010 00110111 01000000 00101001 01100100 11000101 00101101 01100010 10011111 10001000 00111100 00000110
/volume/CODE:1: syntax error /volume/CODE:1: error: malformed statement /volume/CODE:1: syntax error /volume/CODE:1: error: Invalid module instantiation 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