Re: Hamming minigolf post mortem
[email protected] (Daniel Tuijnman)
| Newsgroups | perl.golf |
|---|---|
| Message-ID | <[email protected]> |
Hello Peter,
> Well, this is also a posibility---this one works:
> #!/usr/bin/perl -l
> print+($n)=@h=sort{$b<$a}grep$n<$_,1,@h,map$n*$_,2..5until$n>6025e9
Or just: ... until$n>6e12.
I was quite surprised to see such a clean and elegant algorithm as your
67 post-mortem reach so high. No Perl trickery at all going on here!