文件名称:The-farmer-across-the-river
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:13.85kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个农夫带着—只狼、一只羊和—棵白菜,身处河的南岸。他要把这些东西全部运到北岸。他面前只有一条小船,船只能容下他和—件物品,另外只有农夫才能撑船。如果农夫在场,则狼不能吃羊,羊不能吃白菜,否则狼会吃羊,羊会吃白菜,所以农夫不能留下羊和白菜自己离开,也不能留下狼和羊自己离开,而狼不吃白菜。请求出农夫将所有的东西运过河的方案。-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
农夫过河1/manifest.mf
农夫过河1/build/classes/.netbeans_automatic_build
农夫过河1/build/classes/Goods.class
农夫过河1/build/classes/guohe.class
农夫过河1/build/classes/guohe.rs
农夫过河1/nbproject/build-impl.xml
农夫过河1/nbproject/genfiles.properties
农夫过河1/nbproject/project.properties
农夫过河1/nbproject/project.xml
农夫过河1/nbproject/private/private.properties
农夫过河1/src/guohe.java
农夫过河1/build/classes
农夫过河1/nbproject/private
农夫过河1/build
农夫过河1/nbproject
农夫过河1/src
农夫过河1/test
农夫过河1
农夫过河1/manifest.mf
农夫过河1/build/classes/.netbeans_automatic_build
农夫过河1/build/classes/Goods.class
农夫过河1/build/classes/guohe.class
农夫过河1/build/classes/guohe.rs
农夫过河1/nbproject/build-impl.xml
农夫过河1/nbproject/genfiles.properties
农夫过河1/nbproject/project.properties
农夫过河1/nbproject/project.xml
农夫过河1/nbproject/private/private.properties
农夫过河1/src/guohe.java
农夫过河1/build/classes
农夫过河1/nbproject/private
农夫过河1/build
农夫过河1/nbproject
农夫过河1/src
农夫过河1/test
农夫过河1
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.