[Jprogramming] 'Tis the Season...
'Pascal Jasmin' via Programming
programming at jsoftware.com
Tue Dec 1 22:41:56 UTC 2015
or
| -/ #/.~ S
----- Original Message -----
From: Ric Sherlock <tikkanz at gmail.com>
To: Programming JForum <programming at jsoftware.com>
Sent: Tuesday, December 1, 2015 5:27 PM
Subject: Re: [Jprogramming] 'Tis the Season...
Nice idea but is dependent on the order of then input.
-/ #/.~ ')', S
_73
This would sort that:
-/ <: #/.~ '()' , S
On Wed, Dec 2, 2015 at 11:09 AM, 'Pascal Jasmin' via Programming <
programming at jsoftware.com> wrote:
> -/ #/.~ S
>
>
>
>
> ----- Original Message -----
> From: Geoff Canyon <gcanyon at gmail.com>
> To: programming at 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
More information about the Programming
mailing list