Rules inconsistent with examples

Add a reply

Posted by robin 683 days ago:
The rules state "The numerator will have coefficients in the range -100 to 100 inclusive.", but Run 4 has coefficients outside this range. One of them must be wrong...
Posted by flagitious 682 days ago:
Oops, that is my fault, it is supposed to say -1000 to 1000. Thanks for noticing that.

Note, the fixed test cases have been changed to better cover all the weird cases. Now they include almost all cases of: -many, -1, 0, 1, many as coefficients paired with various exponents (1,x,x**many, leading term).

Sorry for the initial quirks, and I hope everyone enjoys the challenge.
Posted by robin 681 days ago:
Great, thanks.

I was enjoying it, until you posted your entry. :-)
Posted by flagitious 678 days ago:
Heh, well it looks like you got me back in ascii art. Nice to see someone who is great with both perl and ruby.

Add a reply