文件名称:lioncrossriver
介绍说明--下载内容来自于网络,使用问题请自行百度
有三对母子狮子Aa、Bb与Cc,其中ABC为母狮,abc为小狮。要过一条河,河边只有一条船,狮子自己划船,船每次只能载两只狮子。
生存准则:一只小狮如果没有母亲的保护,则会被其它母狮吃掉。母狮之间、小狮之间是安全的。
问题:如何安全过河?
-Lions have three pairs of mother and Aa, Bb and Cc, which ABC is a lioness, abc is a small lion. To cross a river, the river is only one ship, the lion his boat, the ship can only contain two lions. Living standards: a small lion without the protection of the mother, will be eaten by the other lioness. Lioness between, between the small lion is safe. Question: how to safely cross the river?
生存准则:一只小狮如果没有母亲的保护,则会被其它母狮吃掉。母狮之间、小狮之间是安全的。
问题:如何安全过河?
-Lions have three pairs of mother and Aa, Bb and Cc, which ABC is a lioness, abc is a small lion. To cross a river, the river is only one ship, the lion his boat, the ship can only contain two lions. Living standards: a small lion without the protection of the mother, will be eaten by the other lioness. Lioness between, between the small lion is safe. Question: how to safely cross the river?
(系统自动生成,下载前可以参看下载内容)
下载文件列表
狮子过河问题/
狮子过河问题/LION.C
狮子过河问题/LION.EXE
狮子过河问题/~$狮子过河问题.doc
狮子过河问题/狮子过河问题.ppt
狮子过河问题/LION.C
狮子过河问题/LION.EXE
狮子过河问题/~$狮子过河问题.doc
狮子过河问题/狮子过河问题.ppt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.