文件名称:Savage-and-preachers
介绍说明--下载内容均来自于网络,请自行研究使用
从前有一条河,河的左岸有m个传教士、m个野人和一艘最多可乘n人的小船。约定左岸,右岸和船上或者没有传教士,或者野人数量少于传教士,否则野人会把传教士吃掉。搜索一条可使所有的野人和传教士安全渡到右岸的方案。-Once upon a time there was a river, on the left bank of the river have m a missionary, m a savage and a ship can take up a man s boat. On the agreement, and the ship or no missionaries right bank, or savage number less than the preacher, otherwise the missionaries eat wild. Search a can make all the savage and missionaries security go over to the right bank of plan.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Savage and preachers.doc