Skip to main content
added 4 characters in body
Source Link
Erik the Outgolfer
  • 40.6k
  • 5
  • 45
  • 122

APL (Dyalog), 3837 bytes

{∇1+⍵⊣⎕DL∇⍵+×⎕DL 1⊣⎕←1↓∊':'@1∘⍕¨100+⍵⊤⍨3⌿60}0

Try it online!Try it online!

Full program.

Pretty similar to Adám's answer, however independently written and uses a non-⎕AI-based approach.

APL (Dyalog), 38 bytes

{∇1+⍵⊣⎕DL 1⊣⎕←1↓∊':'@1∘⍕¨100+⍵⊤⍨3⌿60}0

Try it online!

Full program.

Pretty similar to Adám's answer, however independently written and uses a non-⎕AI-based approach.

APL (Dyalog), 37 bytes

{∇⍵+×⎕DL 1⊣⎕←1↓∊':'@1∘⍕¨100+⍵⊤⍨3⌿60}0

Try it online!

Full program.

Pretty similar to Adám's answer, however independently written and uses a non-⎕AI-based approach.

Source Link
Erik the Outgolfer
  • 40.6k
  • 5
  • 45
  • 122

APL (Dyalog), 38 bytes

{∇1+⍵⊣⎕DL 1⊣⎕←1↓∊':'@1∘⍕¨100+⍵⊤⍨3⌿60}0

Try it online!

Full program.

Pretty similar to Adám's answer, however independently written and uses a non-⎕AI-based approach.