3 ms·
Quine.zip
- jstanley 5y agoI thought this was quite a cool puzzle idea, although the mechanics of how it works are not completely clear. What exactly does it mean to repeat "the last M lines of output, starting N lines from the end."? Are they the last M, or are they starting N lines from the end? I have a solution, but I arrived at it by trial and error rather than reason: repeat 3 2 print 2 repeat 3 2 print 2 repeat 3 2