|laziness, impatience, and hubris|
Re: (Efficiency Golf) Triangular numbersby tachyon (Chancellor)
|on May 30, 2001 at 14:03 UTC||Need Help??|
Looks like we may need benchmark for this game. Here is the answer, I'll post the complete code in 24 hours so as not to spoil all the fun. It's ~ 30 average lines long and runs under strict. I have included the begining and end. My woodwork teacher used to say look after the edges and the middle will look after itself..... BTW Please enter perlmonks for the prize and donate it to the offering plate when we win!
There is only one solution,
brute force is not the key
With code in evolution,
consider the holy three