in reply to Re: Better algorithm than brute-force stack for combinatorial problems? (A::L)
in thread Better algorithm than brute-force stack for combinatorial problems?
Heh, changing the set to 1..20 and the desired sum to 30, I got the following run times:
| Seconds | Author |
|---|---|
| 0 | tye |
| 10 | Solo |
| 24 | kvale |
| 673 | BrowserUK |
Just a quick, cheap benchmark. (:
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^2: Better algorithm than brute-force stack for combinatorial problems? (Benchmarks)
by BrowserUk (Patriarch) on May 21, 2004 at 23:07 UTC |