Thread: cannibals and missionaries

  1. #16
    Registered User
    Join Date
    May 2007
    Posts
    11
    the tricky part is the algorithm only....once you figure out the algo, the rest is quite trivial.
    Make sure you do the paper work first that is the algorithm and the pseudo code.
    Converting the pseudo code into a c code is rather very easy given that in these two weeks u have worked in c and understood some of its concepts.

  2. #17
    Tropical Coder Darryl's Avatar
    Join Date
    Mar 2005
    Location
    Cayman Islands
    Posts
    503
    LOL, I just found this flash version using the harder rules, and it is impossible, i wonder if the author nows that? At least I think it is.

    http://www.learn4good.com/games/puzzle/boat.htm

    *** OK I retract my statement, it's not impossible ***
    Last edited by Darryl; 05-31-2007 at 10:04 AM. Reason: Retraction

  3. #18
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Funny thing is that all the leftward crosses of the river can be made by the same category of passenger - a cannibal.

    Nice to finally see what they were proposing for a puzzle, at last. I had misunderstood the thing about the boat's passenger's, for a long time.

Popular pages Recent additions subscribe to a feed