But I can't do one on my own... my own solution came in at 83 :(sub g{ # 1 2 3 4 5 6 + 7 # 12345678901234567890123456789012345678901234567890123456789012345678 +9012 return$,if($_=pop)==495;$_=join'',sort split//,$_;$,++;g((reverse)-$ +_) }
mr.nick ...
In reply to Re: Re: Re: (Golf) Kaprekar's Process
by mr.nick
in thread (Golf) Kaprekar's Process
by srawls
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |