文件名称:The-farmer-across-the-river
介绍说明--下载内容均来自于网络,请自行研究使用
一个农夫带着—只狼、一只羊和—棵白菜,身处河的南岸。他要把这些东西全部运到北岸。他面前只有一条小船,船只能容下他和—件物品,另外只有农夫才能撑船。如果农夫在场,则狼不能吃羊,羊不能吃白菜,否则狼会吃羊,羊会吃白菜,所以农夫不能留下羊和白菜自己离开,也不能留下狼和羊自己离开,而狼不吃白菜。请求出农夫将所有的东西运过河的方案。-A farmer with- wolves, a sheep and- cabbage, living in the river' s south bank. All these things he wanted shipped to the North Shore. He is only one boat in front of the boat can only put him and- items, in addition to punt only farmer. If the farmer is present, the wolf can not eat the sheep, the sheep can not eat cabbage, or the wolf will eat the sheep, the sheep will eat the cabbage, so the farmer can not leave his sheep and cabbage left, leaving the wolf and the sheep can not he left, the wolf is not eat cabbage. Request a farmer across the river to transport all the things the program.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
农夫过河1\build.xml
.........\manifest.mf
.........\build\classes\Goods.class
.........\.....\.......\guohe.class
.........\.....\.......\guohe.rs
.........\nbproject\build-impl.xml
.........\.........\genfiles.properties
.........\.........\project.properties
.........\.........\project.xml
.........\.........\..ivate\private.properties
.........\src\guohe.java
.........\build\classes
.........\nbproject\private
.........\build
.........\nbproject
.........\src
.........\test
农夫过河1
.........\manifest.mf
.........\build\classes\Goods.class
.........\.....\.......\guohe.class
.........\.....\.......\guohe.rs
.........\nbproject\build-impl.xml
.........\.........\genfiles.properties
.........\.........\project.properties
.........\.........\project.xml
.........\.........\..ivate\private.properties
.........\src\guohe.java
.........\build\classes
.........\nbproject\private
.........\build
.........\nbproject
.........\src
.........\test
农夫过河1