10 & #. 5 {. (}. ~ I. @(= > ./) @(5 & (*/))) 10 #. ^: _ 1
- J-, - .
, : , , , (, , , , , , . J - , , , . . , . . , .
I think the problems with 8 are really worked out, just head to Euler - they are simple, most of them are one liner in J.
I'm not sure that I did it as one liner the first time I could have an intermediate named variable, but since I did some of these problems, I think I know J much better than me, and I can formulate this phrase along with this without any problems, I know where to put the brackets. At the same time, the implementation of the Euler exercises was successful.
source
share