On Thu, Oct 24, 2002 at 11:18:45PM +0200, Hubert depesz Lubaczewski wrote:

just in case someone (hi chris) is interested.
we just finished this golf.
best score in-play was 88. in post-mortems we found 82.

if you're interested in code please look down. after spoiler space.

s
 
 
 
p
 
 
 
o
 
 
 
i
 
 
 
l
 
 
 
e
 
 
 
r
 
 
 
 
 
 
 
s
 
 
 
p
 
 
 
a
 
 
 
c
 
 
 
e
 
 
 


winning code is:
#!perl                                                                                 
              
split//,pop;$_=pop;s|.|$/=unpack(H2,$&^$_[($i=$a++%@_*2)<@_?$i:$#_-$i]).$/|sge;print$/

best as for now is:
#!perl -l                                                                              
              
($_=pop).=reverse;s/(.)./$1/g;print unpack"H*",reverse$_ x1e4&(($q=pop)^~$q)^$q        
              

depesz

-- 
hubert depesz lubaczewski                          http://www.depesz.pl/
------------------------------------------------------------------------
Mój Boże, spraw abym milczał, dopóki się nie upewnię,  że  naprawdę  mam
coś do powiedzenia.                                      (c) 1998 depesz

Attachment: msg01565/pgp00000.pgp
Description: PGP signature

Reply via email to