in reply to Golf the numbers!
Unless you want to cheat with:print"381654729 "
But for "real" solutions, try this 78 character one:die"381654729 "
sub t{@_||print"$n ";for(1..@_){$n.=shift;$n%(9-@_)||&t;push@_,chop$n}}t(1..9)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Golf the numbers!
by tilly (Archbishop) on Oct 29, 2004 at 18:11 UTC | |
by Taulmarill (Deacon) on Oct 29, 2004 at 20:15 UTC | |
|
Re^2: Golf the numbers!
by dragonchild (Archbishop) on Oct 29, 2004 at 23:19 UTC |