文件名称:riverDFS
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.61kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
有老熊、小熊、老虎、小虎、老豹、小豹要过河,河边只有一条船,因船小,每船最多只能坐一个划手和一个乘客,动物中只有老熊、老虎、老豹和小熊能划船,当老兽不在时,它的小兽就要被其他老兽吃掉,请设计一个程序,让全部动物尽快过河。-There which stay, bear, tiger, tiger, leopard and old, small leopard to cross the river, the river is only one boat, due to small boat, each boat can only take one arm stroke and one passenger, which stay only animals, tigers, old leopard and the bear can be boating, when the old beast is not, it will be other small animals eat the old beast, you design a program that allows all animals to cross the river as soon as possible.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
riverDFS.Cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.