git @ Cat's Eye Technologies Nhohnhehr / 591cef2
Try harder to un-mangle the Markdown. catseye 9 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
143143 input bits, creating rooms thusly, terminating when there are no more
144144 input bits.
145145
146 The following program is a variation of the above which, when it
146 We can write a program that is a variation of the above which, when it
147147 encounters the end of input, writes out the bits in the reverse order
148148 they were read in, with the following changes:
149149
150150 * for every `1` in the input, a `1` comes out
151151 * for every `0` in the input, `10` comes out
152152 * there's an extra `1` at the end of the output
153
154 Here is the program:
153155
154156 +------------+
155157 | /} |