Re: Re: Re: (Golf) Multiply polynomialsby tilly (Archbishop)
|on May 08, 2001 at 15:14 UTC||Need Help??|
(Posted at MeowChow's request.)
My best is 77:
Note that this introduces 0's through a fencepost error, but they don't change which polynomial is represented. I think this is fair, but if you think that is cheating, you can not save that character:
The trick lies in finding ways to not work through explicit lookups by index, and in finding ways to not access arrays through references. In fact there is not a single lookup by index of an element in an array reference. (It was cheaper to create and manually increment the index variable.)
BTW note that the statement of the rules anticipated and forbade saving a character by ending with \@m without making @m a private variable.
Finally at a request from chatter, here is the solution broken out and commented: