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 31 characters in body
Source Link
Aaroneous Miller
  • 9.9k
  • 1
  • 26
  • 39

Vyxal , 3(削除) 3 (削除ここまで) 2 bytes

Ṅð+Ṅð

Try it Online! Try it Online!

Explanation:

 # Implicit input
Ṅ # Insert ' ' between each character
 ð+ð # Append finalPush ' '
 # Implicit'Ṫ' outputflag - sum entire stack and print

If the final space wasn't necessary:

Vyxal S, 0 bytes


Try it Online!

Explanation:

 # Implicit input
 # 'S' flag - Print top of stack joined by spaces

Vyxal, 3 bytes

Ṅð+

Try it Online!

Explanation:

 # Implicit input
Ṅ # Insert ' ' between each character
 ð+ # Append final ' '
 # Implicit output

If the final space wasn't necessary:

Vyxal S, 0 bytes


Try it Online!

Explanation:

 # Implicit input
 # 'S' flag - Print top of stack joined by spaces

Vyxal , (削除) 3 (削除ここまで) 2 bytes

Ṅð

Try it Online!

Explanation:

 # Implicit input
Ṅ # Insert ' ' between each character
 ð # Push ' '
 # 'Ṫ' flag - sum entire stack and print

If the final space wasn't necessary:

Vyxal S, 0 bytes


Try it Online!

Explanation:

 # Implicit input
 # 'S' flag - Print top of stack joined by spaces
Source Link
Aaroneous Miller
  • 9.9k
  • 1
  • 26
  • 39

Vyxal, 3 bytes

Ṅð+

Try it Online!

Explanation:

 # Implicit input
Ṅ # Insert ' ' between each character
 ð+ # Append final ' '
 # Implicit output

If the final space wasn't necessary:

Vyxal S, 0 bytes


Try it Online!

Explanation:

 # Implicit input
 # 'S' flag - Print top of stack joined by spaces

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