Skip to main content
Commonmark migration
Source Link

#Python 2, 127 bytes

Python 2, 127 bytes

lambda s:''.join("IVMB  T  K 9LZF 1HWO3 GUS4 8 7A  E QR 26   NJX    Y0P 5D  C"[(int('0'+l)^2162146)%59]for l in s.split('000'))

Try it online!

Building off of TFeld's solution by removing replace and by working in base 10, at the cost of a bitwise xor and a longer reference string.

#Python 2, 127 bytes

lambda s:''.join("IVMB  T  K 9LZF 1HWO3 GUS4 8 7A  E QR 26   NJX    Y0P 5D  C"[(int('0'+l)^2162146)%59]for l in s.split('000'))

Try it online!

Building off of TFeld's solution by removing replace and by working in base 10, at the cost of a bitwise xor and a longer reference string.

Python 2, 127 bytes

lambda s:''.join("IVMB  T  K 9LZF 1HWO3 GUS4 8 7A  E QR 26   NJX    Y0P 5D  C"[(int('0'+l)^2162146)%59]for l in s.split('000'))

Try it online!

Building off of TFeld's solution by removing replace and by working in base 10, at the cost of a bitwise xor and a longer reference string.

Turned header into header
Source Link
0 '
  • 3.8k
  • 1
  • 22
  • 32

Python 2, 125 bytes

#Python 2, 127 bytes

lambda s:''.join(""IVMB NTJ T M IK 8WD9LZF Q1HWO3 KLYC7UBGUS4 VP8 H20597A  AE QR E26  S NJX 4X   GO61Y0P R3ZF"[5D  C"[(int('0'+l)^1922988^2162146)%57]for%59]for l in s.split('000'))

Try it online!Try it online!

Building off of TFeld's solution by removing replace and by working in base 10, at the cost of a bitwise xor and a longer reference string.

Python 2, 125 bytes

lambda s:''.join(" NTJ  M I 8WD Q KLYC7UB VP H2059  A  E  S  4X   GO61 R3ZF"[(int('0'+l)^1922988)%57]for l in s.split('000'))

Try it online!

Building off of TFeld's solution by removing replace and by working in base 10, at the cost of a bitwise xor and a longer reference string.

#Python 2, 127 bytes

lambda s:''.join("IVMB  T  K 9LZF 1HWO3 GUS4 8 7A  E QR 26   NJX    Y0P 5D  C"[(int('0'+l)^2162146)%59]for l in s.split('000'))

Try it online!

Building off of TFeld's solution by removing replace and by working in base 10, at the cost of a bitwise xor and a longer reference string.

reduced size by another 2 bytes
Source Link
Joe
  • 31
  • 2

Python 2, 128 bytes

Python 2, 125 bytes

lambda s:''.join(" 2A    VNTJ ZYRS9 8W5CPM I 8WD EQ ULMKLYC7UB VP JGXH2059  HA D QE T6 1KS 4 74X I 3FB0 NGO61 O"[R3ZF"[(int('0'+l)^132270^1922988)%61]for%57]for l in s.split('000'))

Try it online!Try it online!

Building off of TFeld's solution by removing replace and by working in base 10, at the cost of a bitwise xor and a longer reference string.

Python 2, 128 bytes

lambda s:''.join(" 2A    V ZYRS9 8W5CP   E ULM  JGX  H D Q T6 1K 4 7 I 3FB0 N O"[(int('0'+l)^132270)%61]for l in s.split('000'))

Try it online!

Building off of TFeld's solution by removing replace and by working in base 10, at the cost of a bitwise xor and a longer reference string.

Python 2, 125 bytes

lambda s:''.join(" NTJ  M I 8WD Q KLYC7UB VP H2059  A  E  S  4X   GO61 R3ZF"[(int('0'+l)^1922988)%57]for l in s.split('000'))

Try it online!

Building off of TFeld's solution by removing replace and by working in base 10, at the cost of a bitwise xor and a longer reference string.

Title formatting
Source Link
xnor
  • 146.6k
  • 26
  • 279
  • 652
Loading
Source Link
Joe
  • 31
  • 2
Loading