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

4 of 4
added 55 characters in body
math junkie
  • 7.3k
  • 1
  • 23
  • 47

Retina 0.8.2, (削除) 16 (削除ここまで) 12 bytes

T`-:(|)D`__d

Try it online!

T`

Enter transliteration mode

(|)D`d

Replace the mouth character with the corresponding digit (0 to 3)

-:`__

Remove each of - and : from the string.

Implicitly output the result, which will be a single digit.

math junkie
  • 7.3k
  • 1
  • 23
  • 47

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