develooper Front page | perl.golf | Postings from June 2002

Re: mini golf

Thread Previous | Thread Next
From:
Qingning Huo
Date:
June 30, 2002 14:31
Subject:
Re: mini golf
Message ID:
33190.213.107.66.231.1025466230.squirrel@cland.2y.net
>> While I was searching the web the other day looking for clues to
> solve a
>> maze, I found this little puzzle.
>>
>> http://acm.uva.es/p/v4/445.html
>>
>> I think it's fun, and since we are in a maze frame of mind ... :)
>>
>> Terje K
>>
>> btw. i'm down to 58 .. can anyone get under 40 ?? :)
>
>>Sure, I've got a 36  :)
>>
>>--
>>Rick Klement
>
> Since TPR(0,4b) is starting in a few hours, ill announce you as the
> winner :)
>
> Would you guys who competed either send me the solutions, or put them
> here on this list please ??
>
> here is my 50.
>
> #!perl -p
> y/b!/
> /;s/\d/+$&/g;s#([\d+]+)(.)#$2x eval$1#eg
>

Here is my 39,

#!perl -p
y/!b/
 /;s!\d(?=\d*(\D))\D?!$1x$&!eg

Qingning




Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About