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 Revisions

1 of 2
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.

MD XF
  • 14.2k
  • 5
  • 69
  • 107

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