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

Commonmark migration
Source Link

#Pepe , 47 bytes

Pepe , 47 bytes

REREEeRErEErREeeEeeeeEREEeeREEeereeREEEEeeEReee

Try it online!

Explanation:

REREEeRE # Push 0,then input (str),then 0 -> (R)
 # The zeroes are pushed to correct the inserting
rEE # Begin loop labelled 0 -> (r)
 rREeeEeeeeE # Push "!" -> (R)
 # r flag inserts it instead of pushing
 REEeeREEee # Move pointer pos 2 steps forward -> (R)
ree # Loop while (R) != 0
REEEEeeE # Remove characters of (R) that are in stack of (r)
 # Removes the 0 in (R)
Reee # Output (R)

#Pepe , 47 bytes

REREEeRErEErREeeEeeeeEREEeeREEeereeREEEEeeEReee

Try it online!

Explanation:

REREEeRE # Push 0,then input (str),then 0 -> (R)
 # The zeroes are pushed to correct the inserting
rEE # Begin loop labelled 0 -> (r)
 rREeeEeeeeE # Push "!" -> (R)
 # r flag inserts it instead of pushing
 REEeeREEee # Move pointer pos 2 steps forward -> (R)
ree # Loop while (R) != 0
REEEEeeE # Remove characters of (R) that are in stack of (r)
 # Removes the 0 in (R)
Reee # Output (R)

Pepe , 47 bytes

REREEeRErEErREeeEeeeeEREEeeREEeereeREEEEeeEReee

Try it online!

Explanation:

REREEeRE # Push 0,then input (str),then 0 -> (R)
 # The zeroes are pushed to correct the inserting
rEE # Begin loop labelled 0 -> (r)
 rREeeEeeeeE # Push "!" -> (R)
 # r flag inserts it instead of pushing
 REEeeREEee # Move pointer pos 2 steps forward -> (R)
ree # Loop while (R) != 0
REEEEeeE # Remove characters of (R) that are in stack of (r)
 # Removes the 0 in (R)
Reee # Output (R)
explanation
Source Link
u-ndefined
  • 2.3k
  • 12
  • 21

#Pepe, 47 bytes

REREEeRErEErREeeEeeeeEREEeeREEeereeREEEEeeEReee

Try it online!

Explanation:

REREEeRE # Push 0,then input (str),then 0 -> (R)
 # The zeroes are pushed to correct the inserting
rEE # Begin loop labelled 0 -> (r)
 rREeeEeeeeE # Push "!" -> (R)
 # r flag inserts it instead of pushing
 REEeeREEee # Move pointer pos 2 steps forward -> (R)
ree # Loop while (R) != 0
REEEEeeE # Remove characters of (R) that are in stack of (r)
 # Removes the 0 in (R)
Reee # Output (R)

#Pepe, 47 bytes

REREEeRErEErREeeEeeeeEREEeeREEeereeREEEEeeEReee

Try it online!

#Pepe, 47 bytes

REREEeRErEErREeeEeeeeEREEeeREEeereeREEEEeeEReee

Try it online!

Explanation:

REREEeRE # Push 0,then input (str),then 0 -> (R)
 # The zeroes are pushed to correct the inserting
rEE # Begin loop labelled 0 -> (r)
 rREeeEeeeeE # Push "!" -> (R)
 # r flag inserts it instead of pushing
 REEeeREEee # Move pointer pos 2 steps forward -> (R)
ree # Loop while (R) != 0
REEEEeeE # Remove characters of (R) that are in stack of (r)
 # Removes the 0 in (R)
Reee # Output (R)
Source Link
u-ndefined
  • 2.3k
  • 12
  • 21

#Pepe, 47 bytes

REREEeRErEErREeeEeeeeEREEeeREEeereeREEEEeeEReee

Try it online!

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