more useful options | |
PerlMonks |
Re: Re: (Golf) Kaprekar's Processby srawls (Friar) |
on Jun 17, 2001 at 19:19 UTC ( [id://89168]=note: print w/replies, xml ) | Need Help?? |
Nice... I can shave off four chars by taking off that $a variable. It still doesn't handle numbers like 100 correctly though; but so far only MeowChow's and mine, where I merely saved a few chars from MeowChow's solution, do. Here is your improved code, weighing in at a respectable 50 chars:
The 15 year old, freshman programmer,
In Section
Meditations
|
|