Hamming minigolf post mortem
[email protected] (Peter Makholm)
| Newsgroups | perl.golf |
|---|---|
| Message-ID | <[email protected]> |
Can anyone explain what is going on in mtve's solution?
I just can't seem to see where to start decoding it.
BTW: yes, my rejected solution should have been 6026e9 in the end.
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
--
Peter Makholm | Wisdom has two parts:
[email protected] | 1) having a lot to say, and
http://hacking.dk | 2) not saying it