Skip to main content
corrected score
Source Link
Jo King
  • 47.5k
  • 5
  • 125
  • 186

APL (Dyalog), 1719 bytes

{0⍳⍨256|×\⍵+⍺×0,⍳9}

Try it online!

Uses ⎕IO←1 and the fact that the highest possible output is 10.

APL (Dyalog), 17 bytes

0⍳⍨256|×\⍵+⍺×0,⍳9

Try it online!

Uses ⎕IO←1 and the fact that the highest possible output is 10.

APL (Dyalog), 19 bytes

{0⍳⍨256|×\⍵+⍺×0,⍳9}

Try it online!

Uses ⎕IO←1 and the fact that the highest possible output is 10.

Source Link
Jo King
  • 47.5k
  • 5
  • 125
  • 186

APL (Dyalog), 17 bytes

0⍳⍨256|×\⍵+⍺×0,⍳9

Try it online!

Uses ⎕IO←1 and the fact that the highest possible output is 10.