资 源 简 介
此程序实现了三个食人魔和三个传教士的过河问题,其中船上最多只能载两个人,船上和两岸的传教士数大于食人魔数传教士才是安全的-Realize this procedure three Ogre and three missionaries across the river, which can only be set on board a maximum of two people on board and on both sides of Ogre missionaries more than a few missionaries are safe