I have a Missionaries and Cannibals solver, but, when it prints the solution out it doubles all the solutions...
I guess that my check that it dosen't return to a previous state does something wrong.
Can anyone spot the error?
Code at:
http://pastebin.com/861898
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.