in reply to (Golf) Kaprekar's Process
Here's mine at 55.
cheers
tachyon
sub a { ++$a;$_=join"",sort pop=~/./g;$_!=459?a(-$_+reverse):$a }
Shave 1 for 54, and I'm out
sub a { ++$a;($_=join"",sort pop=~/./g)!=459?a(-$_+reverse):$a }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: (Golf) Kaprekar's Process
by sean (Beadle) on Jun 17, 2001 at 21:38 UTC | |
by tachyon (Chancellor) on Jun 18, 2001 at 03:19 UTC | |
Re: Re: (Golf) Kaprekar's Process
by srawls (Friar) on Jun 17, 2001 at 19:19 UTC |
In Section
Meditations