Skip to main content
added 388 characters in body
Source Link
Shaggy
  • 43.5k
  • 4
  • 36
  • 94

Rockstar, 82 73 6666 57 bytes

listen to S
cut S
O's ""
while S
roll S into C
let O be+C*2be+roll S*2

say O

Try it here (Code will need to be pasted in)

listen to S     :Read input string into variable S
cut S           :Split into an array
O's ""          :Initialise O as an empty string
while S         :While S is not empty
let O be+       :  Append to O
  roll S        :    Pop the first element from S
  *2            :    Duplicate
                :End while loop
say O           :Output O

Rockstar, 82 73 66 bytes

listen to S
cut S
O's ""
while S
roll S into C
let O be+C*2

say O

Try it here (Code will need to be pasted in)

Rockstar, 82 73 66 57 bytes

listen to S
cut S
O's ""
while S
let O be+roll S*2

say O

Try it here (Code will need to be pasted in)

listen to S     :Read input string into variable S
cut S           :Split into an array
O's ""          :Initialise O as an empty string
while S         :While S is not empty
let O be+       :  Append to O
  roll S        :    Pop the first element from S
  *2            :    Duplicate
                :End while loop
say O           :Output O
deleted 6 characters in body
Source Link
Shaggy
  • 43.5k
  • 4
  • 36
  • 94

Rockstar, 82 7373 66 bytes

listen to S
cut S
X's0O's ""
while S-X
letroll S at Xinto be*2C
let XO be+1be+C*2

join S
say SO

Try it here (Code will need to be pasted in)

Rockstar, 82 73 bytes

listen to S
cut S
X's0
while S-X
let S at X be*2
let X be+1

join S
say S

Try it here (Code will need to be pasted in)

Rockstar, 82 73 66 bytes

listen to S
cut S
O's ""
while S
roll S into C
let O be+C*2

say O

Try it here (Code will need to be pasted in)

added 1 character in body
Source Link
Shaggy
  • 43.5k
  • 4
  • 36
  • 94

Rockstar, 8282 73 bytes

listen to S
O's""cut S
X's0
while S at -X
let C be S at X
let O be+C+Cbe*2
let X be+1

join S
say OS

Try it here (Code will need to be pasted in)

Rockstar, 82 bytes

listen to S
O's""
X's0
while S at X
let C be S at X
let O be+C+C
let X be+1

say O

Try it here (Code will need to be pasted in)

Rockstar, 82 73 bytes

listen to S
cut S
X's0
while S-X
let S at X be*2
let X be+1

join S
say S

Try it here (Code will need to be pasted in)

Source Link
Shaggy
  • 43.5k
  • 4
  • 36
  • 94
Loading