Hi,

some input data will give incorrect results, for example :

DATA=:".;._2[0 :0
1, 1
1, 3
2, 2
3, 1
3, 3
)

As you can see, point 2 should not be on the border :

0 0 0 1 1
0 0 0 1 1
0 0 2 1 1
3 3 2 4 4
3 3 2 4 4

identifying equidistant sites with underscore would give :

0 0 _ 1 1
0 0 _ 1 1
_ _ 2_ _
3 3 _ 4 4
3 3 _ 4 4


On Sun, Dec 9, 2018 at 9:13 AM David Lambert <[email protected]> wrote:
>
> Day 6 2018 partial spoiler
>
>
> On 12/9/18 7:00 AM, [email protected] wrote:
> > Date: Sat, 8 Dec 2018 10:34:07 -0500
> > From: Brian Schott<[email protected]>
> > To: Programming forum<[email protected]>
> > Subject: [Jprogramming] AOC 2018 day 6
> > Message-ID:
> >       <CAEDWnsvbk=
[email protected]>
> > Content-Type: text/plain; charset="UTF-8"
> ----------------------------------------------------------------------
> 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