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

added 61 characters in body
Source Link
Giuseppe
  • 29.4k
  • 3
  • 33
  • 106

R, (削除) 65 bytes * 5 = 325 (削除ここまで) 59(削除) 59 bytes * 5 = 295 (削除ここまで) 62 bytes * 54 = 295248

cat(gsub('(.)',strrep('\1円',54),"Good MorningMo\x72ning, Green orb!"))

Try it online! Try it online!

There are 54 r(or,') characters.

R, (削除) 65 bytes * 5 = 325 (削除ここまで) 59 bytes * 5 = 295

cat(gsub('(.)',strrep('\1円',5),"Good Morning, Green orb!"))

Try it online!

There are 5 r characters.

R, (削除) 65 bytes * 5 = 325 (削除ここまで) (削除) 59 bytes * 5 = 295 (削除ここまで) 62 bytes * 4 = 248

cat(gsub('(.)',strrep('\1円',4),"Good Mo\x72ning, Green orb!"))

Try it online!

There are 4 (or,') characters.

added 45 characters in body
Source Link
Giuseppe
  • 29.4k
  • 3
  • 33
  • 106

R, 65(削除) 65 bytes * 5 = 325 (削除ここまで) 59 bytes * 5 = 325295

cat(repgsub(strsplit'(.)',strrep('\1円',5),"Good Morning, Green orb!",'')[[1]],e=5),sep='')

Try it online! Try it online!

There are 5 r characters.

R, 65 bytes * 5 = 325

cat(rep(strsplit("Good Morning, Green orb!",'')[[1]],e=5),sep='')

Try it online!

R, (削除) 65 bytes * 5 = 325 (削除ここまで) 59 bytes * 5 = 295

cat(gsub('(.)',strrep('\1円',5),"Good Morning, Green orb!"))

Try it online!

There are 5 r characters.

Source Link
Giuseppe
  • 29.4k
  • 3
  • 33
  • 106

R, 65 bytes * 5 = 325

cat(rep(strsplit("Good Morning, Green orb!",'')[[1]],e=5),sep='')

Try it online!

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