in reply to Re: [golf] Kaprekar Numbers
in thread [golf] Kaprekar Numbers
(Edit: and using thospel's "@_" instead of $_[0] makes it 37. I wonder how I managed to miss that...)# 34567890123456789012345678901234567890 $_=$_[0]**2;pos=y///c/2;//g;$`+$'==pop
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: [golf] Kaprekar Numbers
by thospel (Hermit) on Jul 08, 2005 at 18:51 UTC |