Re: Perl Quiz of the Week #23
Mark Jason Dominus <[email protected]>
| Newsgroups | gmane.comp.lang.perl.qotw.discuss |
|---|---|
| Message-ID | <[email protected]> |
colin.rafferty-/PgpppG8B+R7qynMiXIxWgC/[email protected]: > So I worked a bit, and pretty quickly got an algorithm straight. > However, it's fairly obvious that my algorithm is exponential. > Obviously, the number of results is also exponential, but I was hoping > that I could... I think the right way to measure the time on this one is to consider the time to calculate each line of output, instead of the total time to calculate all the outputs.