文件名称:模拟过河问题
介绍说明--下载内容均来自于网络,请自行研究使用
小时候,我看到过这样的一道智力题: 一个农夫带着一只狼,一只羊和一些菜过河。河边只有一条船,由于船太小,只能装下农夫和他的一样东西。在无人看管的情况下,狼要吃羊,羊要吃菜,请问农夫如何才能使三样东西平安过河。经过不难的推理,相信读者都能轻而易举的解出这道题。但是,我们是否能用计算机解这一道题呢?答案是肯定的。本文就让读者去领略一下计算机快速解决问题。-was a kid, I saw the intelligence that one : a farmer with a wolf, a goat and some vegetables across the river. Only a river boat, small boat, can only put under farmer and his thing. Unattended circumstances, the wolf to Qiyang, the sheep to the meal, ask the farmers how to make three things safely across the river. It is not difficult to read the reasoning, I believe readers are easily able to come up with Jesus. However, we can use the computer solutions for this and that? The answer is yes. This paper to let readers understand what computer quick fixes to the problem.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 333814模拟过河问题.rar 列表 作业\0203301 赵坚密 农夫过河问题的算法实现.doc 作业\0203301 赵坚密 农夫过河问题源代码.txt 作业