(<"_2 i.2 2 2 3)-:<"2 i.2 2 2 3 1 Linda -----Original Message----- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of 'Pascal Jasmin' via Programming Sent: Tuesday, December 1, 2015 5:10 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] 'Tis the Season...
-/ #/.~ S ----- Original Message ----- From: Geoff Canyon <gcan...@gmail.com> To: programm...@jsoftware.com Sent: Tuesday, December 1, 2015 5:05 PM Subject: Re: [Jprogramming] 'Tis the Season... 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm