Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link
added 1029 characters in body
Source Link
Martin Ender
  • 198.2k
  • 67
  • 455
  • 998

><>, 36 bytes, Erik the Golfer

'''000**rd3*:::?!;od0.!!+..233??dfrr

Try it online!

I'm quite sure that this is not the intended solution. However, ><> quines make it fairly easy to get rid of most unwanted characters, except the '. Fortunately, the : made it quite easy to take care of those as well.

Explanation

''' Push everything except these quotes onto the stack.
 000** In effect, pushes a zero.
 r Reverse the stack.
 d3* Push 39 (the quote character).
 :: Make two copies. The stack now holds
 a null-terminated representation of the
 entire code.
 The print loop begins here...
 : Duplicate top of stack.
 ?!; Terminate if zero.
 o Otherwise, print.
 d0. Jump back to position 13, i.e. the
 beginning of the print loop.
 !!+..233??dfrr Unused characters.

><>, 36 bytes, Erik the Golfer

'''000**rd3*:::?!;od0.!!+..233??dfrr

Try it online!

I'm quite sure that this is not the intended solution. However, ><> quines make it fairly easy to get rid of most unwanted characters, except the '. Fortunately, the : made it quite easy to take care of those as well.

><>, 36 bytes, Erik the Golfer

'''000**rd3*:::?!;od0.!!+..233??dfrr

Try it online!

I'm quite sure that this is not the intended solution. However, ><> quines make it fairly easy to get rid of most unwanted characters, except the '. Fortunately, the : made it quite easy to take care of those as well.

Explanation

''' Push everything except these quotes onto the stack.
 000** In effect, pushes a zero.
 r Reverse the stack.
 d3* Push 39 (the quote character).
 :: Make two copies. The stack now holds
 a null-terminated representation of the
 entire code.
 The print loop begins here...
 : Duplicate top of stack.
 ?!; Terminate if zero.
 o Otherwise, print.
 d0. Jump back to position 13, i.e. the
 beginning of the print loop.
 !!+..233??dfrr Unused characters.
Source Link
Martin Ender
  • 198.2k
  • 67
  • 455
  • 998

><>, 36 bytes, Erik the Golfer

'''000**rd3*:::?!;od0.!!+..233??dfrr

Try it online!

I'm quite sure that this is not the intended solution. However, ><> quines make it fairly easy to get rid of most unwanted characters, except the '. Fortunately, the : made it quite easy to take care of those as well.

AltStyle によって変換されたページ (->オリジナル) /