|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: (Golf) Kaprekar's Processby MeowChow (Vicar) |
| on Jun 16, 2001 at 23:00 UTC ( #89081=note: print w/ replies, xml ) | Need Help?? |
|
The answers given thus far all fail on numbers (such as 100 and 211) which generate two-digit numbers in their intermediate results. Here's a good test for this particular golf: And here's a correct solution at
MeowChow s aamecha.s a..a\u$&owag.print
In Section
Meditations
|
|
||||||||||||||||||||||||||||||