Skip to main content
6 of 9
−72
Anders Kaseorg
  • 40.1k
  • 3
  • 75
  • 146

05AB1E, score = 1944 (9 bytes · 216)

žBœε3yJ}J

Try it online!

How it works

žBœε3yJ}J
žB          push 1024
  œ         permutations: ["1024", "1042", "1204", …, "4201"]
   ε   }    map over elements y:
    3       push 3
     y      push y again
      J     concatenate the stack
        J   concatenate

Pyth, score = 2160 (10 bytes · 216)

sm+d+4d.p4

Try it online!

How it works

 m     .p4   map over all permutations d of [0, 1, 2, 3]:
  +d+4d        d + [4] + d
s            concatenate
Anders Kaseorg
  • 40.1k
  • 3
  • 75
  • 146