python coding contest
Duncan Booth
duncan.booth at invalid.invalid
Tue Dec 27 16:30:09 EST 2005
Tim Hochberg wrote:
> py pan wrote:
>> When you guys say 127~150 characters, did you guys mean
>> usinging test_vectors.py in some way? Or there's no import at all?
>>
>
> No import at all. The shortest solution reported so far is 131
> characters. Getting down to 127 is just a guess as to where the lower
> bound is likely to be.
Sorry about the 131, I had a spurious whitespace character so it should
have been 130.
> The data is then extracted using some recipe
> involving shifts and &s.
My 130 character solution has a shift and an &. My 133 character solution
didn't. I feel sure that 130 isn't the limit, my guess would be that 127 or
128 ought to be possible.
More information about the Python-list
mailing list