in reply to (Golf) Decorating the Christmas Tree
That weighs in at 103.sub tree { # 1 2 3 #2345678901234567890123456789012 ($h,$f)=@_;@_=map$"x--$h.($_-1?0 x(2*$_-1):'*').$/,1..$h;s/0/rand >$f?'=':qw(0 @ * +)[rand 4]/eg for@_;print@_
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (Golf) Decorating the Christmas Tree
by Masem (Monsignor) on Dec 03, 2001 at 22:21 UTC | |
by japhy (Canon) on Dec 03, 2001 at 22:25 UTC |