![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re^2: NP-complete sometimes isn'tby tilly (Archbishop) |
on Sep 02, 2008 at 08:34 UTC ( [id://708419]=note: print w/replies, xml ) | Need Help?? |
The initial version that I posted did indeed have a bug. If it wound up not using any of the initial greedy guess, it would repeat the last element from the greedy guess. In your case that would explain why 191 repeated. I fixed that bug, but obviously not before you downloaded the buggy version of the code.
In Section
Meditations
|
|