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

2 of 2
Added clarification on implementation requirements.
Zack C.
  • 931
  • 5
  • 7

brainfuck, 25 bytes

--[-->+<]+++++[->-.....<]

Try it online! Note: Requires an implementation with 8-bit unsigned cells

Output:

~~~~~}}}}}|||||{{{{{zzzzz

Explanation

--[ 254
 -->+<] /2 = 127 into the second cell
+++++[ Five times
 ->-.....<] Print the second cell - 1 five times
Zack C.
  • 931
  • 5
  • 7

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