Skip to main content
Commonmark migration
Source Link

#J, 23 bytes

J, 23 bytes

[:((0=+/)**-:*/:*)2-/\]

Idea stolen from the Jelly answers. Just wanted to see how short I could make it in J.

Try it online!

#J, 23 bytes

[:((0=+/)**-:*/:*)2-/\]

Idea stolen from the Jelly answers. Just wanted to see how short I could make it in J.

Try it online!

J, 23 bytes

[:((0=+/)**-:*/:*)2-/\]

Idea stolen from the Jelly answers. Just wanted to see how short I could make it in J.

Try it online!

deleted 7 characters in body
Source Link
Jonah
  • 33.8k
  • 4
  • 40
  • 94

#J, 2523 bytes

[:((0=+/)*/:~@**-:*-/:*)2-/\]

Idea stolen from the Jelly answers. Just wanted to see how short I could make it in J.

Try it online!Try it online!

#J, 25 bytes

[:((0=+/)*/:~@:*-:*)2-/\]

Idea stolen from the Jelly answers. Just wanted to see how short I could make it in J.

Try it online!

#J, 23 bytes

[:((0=+/)**-:*/:*)2-/\]

Idea stolen from the Jelly answers. Just wanted to see how short I could make it in J.

Try it online!

Source Link
Jonah
  • 33.8k
  • 4
  • 40
  • 94

#J, 25 bytes

[:((0=+/)*/:~@:*-:*)2-/\]

Idea stolen from the Jelly answers. Just wanted to see how short I could make it in J.

Try it online!