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 6
emanresu A
  • 46.2k
  • 5
  • 111
  • 257

Vyxal, 16 bytes

b8∆Zf0LbLẇvBꜝ‹İ∑

Try it Online!

b # Convert each from binary
 8∆Z # Pad each to length 8
 f # Flatten
 ẇ # Split into chunks of length... 
 0LbL # Length of the encoder string, in binary
 vBꜝ‹ # Convert each from binary, remove 0s and decrement
 İ∑ # Index those into the encoder and sum
emanresu A
  • 46.2k
  • 5
  • 111
  • 257

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