in reply to Re: (Golf) Nearest Neighbors
in thread (Golf) Nearest Neighbors
Just saw this thread. Here is a destructive (only works once) solution at 46:
sub nn{$a|=$"x$_.1for@_;$b.=$"until$a=~/1$b(1)/;@a=@-}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: (Golf) Nearest Neighbors
by thospel (Hermit) on Oct 27, 2003 at 19:34 UTC |
In Section
Obfuscated Code