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
In reply to Re: (Golf) Minimizing the Bacon Number
by MeowChow
in thread (Golf) Minimizing the Bacon Number
by Masem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |