Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Binomial Golf

by Arguile (Hermit)
on May 30, 2001 at 14:37 UTC ( [id://84211] : note . print w/replies, xml ) Need Help??


in reply to Binomial Golf

A full 14 chars over japhy's, with a total of 70 looks like I'm over par for the course :)

# 789_123 +456789_ # 123456789_123456789_123456789_123456789_123456789_123456!!!!!!! +!!!!!!! sub p {@_=(1,@_);for(1..pop){print"@_\n";map{$_=abs;$_[$_+1]+=$_[$_]}- +$#_..0}}