Re:A Quine Puzzle
by personjerry on Monday July 20, 2015 @04:52PM
(#9918982)
My solution, featuring only 2 distinct commands, no NOPs, and not relying on `repeat` at the beginning: cHJpbnQgMg0KcHJpbnQgMg0KcHJpbnQgMg0KcHJpbnQgMg0KcHJpbnQgMg0KcHJpbnQgMg0KcHJpbnQgMg0KcHJpbnQgMg0KcHJpbnQgMg0KcmVwZWF0IDMgMg0KcHJpbnQgMg0KcmVwZWF0IDMgMg0KcHJpbnQgMg0KcmVwZWF0IDMgMg==
[ Parent
| on HN ]
Maybe it copy-pasted wrong, but this doesn't look like a solution to me. The output is shorter than the input, and contains commands in a different order.
Re:A Quine Puzzle
by personjerry on Monday July 20, 2015 @08:08PM
(#9919916)
I just tried it again, and then copy pasted from the output to the input; it still works. Did you select the full string and decode with base64?