Here was quite a surprise.

0:`(] | [ + [ $: _1 + ])
---T-----------------------------------------------┐
│0:│--T-------------------------------------------┐│
│  ││3│--T-T-------------------------------------┐││
│  ││ ││]│|│--T---------------------------------┐│││
│  ││ ││ │ ││3│--T-T---------------------------┐││││
│  ││ ││ │ ││ ││[│+│--T-----------------------┐│││││
│  ││ ││ │ ││ ││ │ ││3│--T--T----------------┐││││││
│  ││ ││ │ ││ ││ │ ││ ││[│$:│--T------------┐│││││││
│  ││ ││ │ ││ ││ │ ││ ││ │  ││3│-------T-T-┐││││││││
│  ││ ││ │ ││ ││ │ ││ ││ │  ││ ││--T--┐│+│]│││││││││
│  ││ ││ │ ││ ││ │ ││ ││ │  ││ │││0│_1││ │ │││││││││
│  ││ ││ │ ││ ││ │ ││ ││ │  ││ ││L-+---│ │ │││││││││
│  ││ ││ │ ││ ││ │ ││ ││ │  ││ │L------+-+--││││││││
│  ││ ││ │ ││ ││ │ ││ ││ │  │L-+-------------│││││││
│  ││ ││ │ ││ ││ │ ││ │L-+--+-----------------││││││
│  ││ ││ │ ││ ││ │ │L-+------------------------│││││
│  ││ ││ │ ││ │L-+-+----------------------------││││
│  ││ ││ │ │L-+----------------------------------│││
│  ││ │L-+-+--------------------------------------││
│  │L-+--------------------------------------------│
L--+------------------------------------------------
   
   
Linda

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Brian Schott
Sent: Thursday, May 02, 2013 7:48 AM
To: Programming forum
Subject: Re: [Jprogramming] rosettacodere

   Josephus=. 0:`(] | [ + [ $: _1 + ])@.(1 < ])
   4 Josephus 38
37

You must have paren's around the fork to make it an *isolated* train.




-- 
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to