[ back to toc ]

help be in coding this problem

Date: 2002/01/07 12:29


Q:
HELLO
CAN YOU HELP ME IN SOLV THE following problem by using C OR C++ CODE

M missionaries abd C cannibals be transported from the left bank of a
river to the right
bank ,using a boat.the boat can take 1 or 2 persons only, at each
moment,the number of the missionaries at a bank is
either 0,or is not less than the number of the cannibals at the same bank.

WE can use BACKTRACKING aPPROCH to solv this problem or any other method

[ back to toc ]