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

3 of 3
Commonmark migration

Pyth, 8 bytes

h.<t*QQt

pyth.herokuapp.com

Explanation:

 Q Input
 Q Input
 * Multiply
 t Decrement
 t Decrement the input
 .< Left bitshift
h Increment
Erik the Outgolfer
  • 40.8k
  • 5
  • 46
  • 125

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