Thanks Robert!

This is code-golf! Solve a problem is shortest number of bytes to win! Your 
help saved me 4 bytes! I must have mispasted; the original was

>./+.z^0j1-z=:                0j_10   NB. 14 bytes

Yours is
 +.(^ 0j1-])                     0j_10   NB. 10 bytes. I will give you full 
credit ;o)

   3.13112e7                  NB. Same answer as mine!

PS Link is https://codegolf.stackexchange.com/posts/116842/edit
Page Not Found<https://codegolf.stackexchange.com/posts/116842/edit>
codegolf.stackexchange.com
Q&A for programming puzzle enthusiasts and code golfers



________________________________
From: Chat <[email protected]> on behalf of robert therriault 
<[email protected]>
Sent: 19 April 2017 03:00
To: [email protected]
Subject: Re: [Jchat] Help!

Richard,

Your snippet doesn't really return anything but a syntax error, but was this 
what you were looking for?

    +.(^ 0j1 - ]) 0j_10
3.13112e7 6.20688e6

Cheers, bob
> On Apr 18, 2017, at 7:54 PM, Richard Donovan <[email protected]> wrote:
>
>> ./+.z^0j1-z=: 0j_10

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
J Forums<http://www.jsoftware.com/forums.htm>
www.jsoftware.com
Forums. The J forum mailing lists give life to the J community. They are the 
best way to get help, help others, report bugs, and share your interest in J.


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to