Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    \$\begingroup\$ You can submit tryAPL solutions on APLgolf: 16 bytes \$\endgroup\$ Commented Apr 18, 2021 at 16:54
  • \$\begingroup\$ 14 bytes?: {⍵>0:∇¨⍵-⍳2⋄0}. I can't get {×⍵:∇¨⍵-⍳2⋄0} to work, though \$\endgroup\$ Commented Apr 18, 2021 at 17:05
  • \$\begingroup\$ @user Oh that's clever. I'll take a look at trying to golf it a bit more from there too; thanks. \$\endgroup\$ Commented Apr 18, 2021 at 17:10
  • \$\begingroup\$ @Razetime that's a very nice site. Thanks! \$\endgroup\$ Commented Apr 18, 2021 at 17:11