by@progrunner17
AC
module cat;integer c,i,d,s;initial begin s=1<<31; c=$fgetc(s);while(!(&c))begin d=0;i=1;while(c==48||c==49)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 endmodule
01011000 10001000 10111100 00011010 11111011 00101010 00110111 10001110 01101010 10111110 01110100 00000011 01111000 00001010 10001001 00000000 00100110 10011001 10001010 11100111 01000010 00010101 11111101 00110000 11100001 00000110 01011011 11010111 00000110 10110101 01101001 00001111 10001100 10100110 01101011 00101101 00101111 10000011 11011100 00110111 00110100 00011100 00100100 11110111 11010010 00000001 10101011 11010011 01001100 01001110
0 1 0 0 0 0 1 0 0 1 0 1 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 0 1 0 0 0 1 0 1 1 0 1 1 1 0 0 1