|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Closest-value-in-list Golf!by jeroenes (Priest) |
| on May 29, 2001 at 19:12 UTC ( #83972=note: print w/ replies, xml ) | Need Help?? |
|
I can offer a and it is strict-compliant and very straightforward. Of course it returns the index, but that is allowed, isn't it? Otherwise, add 4 chars to get the value. Hey wait, do you only count the chars between {}? Than we can take of 7, that counts 40 chars. And there is room in the last part: And we are at 36 chars. Jeroen
In Section
Meditations
|
|
||||||||||||||||||||||||