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

deleted 18 characters in body
Source Link
MD XF
  • 14.2k
  • 5
  • 69
  • 107

Cubically, 2 bytes

しかく

Try it online!

Explanation:

¶ read a line from stdin, evaluate
 しかく print the cube to stdout

If extraneous output is allowed, this is an alternative. 1 byte:

Try it online!

Cubically automatically dumps its memory cube to STDERR when the program ends. However, it also prints the notepad beforehand.

Cubically, 2 bytes

しかく

Explanation:

¶ read a line from stdin, evaluate
 しかく print the cube to stdout

If extraneous output is allowed, this is an alternative. 1 byte:

Cubically automatically dumps its memory cube to STDERR when the program ends. However, it also prints the notepad beforehand.

Cubically, 2 bytes

しかく

Try it online!

Explanation:

¶ read a line from stdin, evaluate
 しかく print the cube to stdout

If extraneous output is allowed, this is an alternative. 1 byte:

Try it online!

Cubically automatically dumps its memory cube to STDERR when the program ends. However, it also prints the notepad beforehand.

Source Link
MD XF
  • 14.2k
  • 5
  • 69
  • 107

Cubically, 2 bytes

しかく

Explanation:

¶ read a line from stdin, evaluate
 しかく print the cube to stdout

If extraneous output is allowed, this is an alternative. 1 byte:

Cubically automatically dumps its memory cube to STDERR when the program ends. However, it also prints the notepad beforehand.

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