in reply to Golf: Selection from sets (Choose)
55 chars (see update), not counting the sub subName parts.
sub a{ eval join'*',1..pop } sub f { a($_[0])/(a($_[1])*a($_[0]-$_[1])) }
Update: changed code a bit, down to 53 characters now
The 15 year old, freshman programmer,
Stephen Rawls
|
---|
Replies are listed 'Best First'. | |
---|---|
Re (tilly) 1: Golf: Selection from sets (Choose)
by tilly (Archbishop) on May 25, 2001 at 04:30 UTC |
In Section
Meditations