in reply to (Golf) Minimizing the Bacon Number
At least it's fast, if not correct. :)sub bacon { my%t=@_;(sort{@{$t{$b}}<=>@{$t{$a}}}keys%t)[0] }
MeowChow s aamecha.s a..a\u$&owag.print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (Golf) Minimizing the Bacon Number
by Masem (Monsignor) on May 14, 2001 at 23:35 UTC | |
by bobione (Pilgrim) on May 15, 2001 at 01:32 UTC | |
by jynx (Priest) on May 15, 2001 at 03:15 UTC | |
by MeowChow (Vicar) on May 15, 2001 at 03:15 UTC | |
by koolade (Pilgrim) on May 15, 2001 at 06:28 UTC |