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
The Thonnu
  • 18.7k
  • 3
  • 19
  • 76

Thunno 2, 4 bytes (no header/footer)

Ɓ+1|

Try it online!

Explanation

Ɓ+ # Without popping, add top two values
 1| # Replace a 0 with a 1
 # Implicit output
The Thonnu
  • 18.7k
  • 3
  • 19
  • 76

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