[Jprogramming] 'Tis the Season...

Geoff Canyon gcanyon at gmail.com
Tue Dec 1 22:05:45 UTC 2015


Spoiler (my solution, looking for feedback)
.
.
.
.
.
.
.
.

F =: #-(+:@(+/@('('&i.)))


If S is the string from the site, then


F S

returns the ending floor (the first part of the challenge).


Any suggestions on improving the syntax are welcome, I only dabble in J.


thx


gc


More information about the Programming mailing list