文件名称:Businessmen_Crossing_SRC
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:8.22kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
解决商人渡河问题。该问题为:有三个商人,三个强盗,和一条船(船每次只可以载小于等于两个人)他们同在河的一边,想渡过河去,但是必须保证在河的任何一边必须保证商人的数目大于等于强盗的数目,并要满足渡河次数尽可能的少,应该怎么过这条河呢?
-To solve business problems crossing. The problem is: There are three businessmen, three robbers, and a boat (each boat can only contain two people or less) side of the river with them, to get over the river to go, but must ensure that any side of the river must be ensure that the number of merchants greater than equal to the number of robbers, and to meet the few crossing times as much as possible, should be over how the river then?
-To solve business problems crossing. The problem is: There are three businessmen, three robbers, and a boat (each boat can only contain two people or less) side of the river with them, to get over the river to go, but must ensure that any side of the river must be ensure that the number of merchants greater than equal to the number of robbers, and to meet the few crossing times as much as possible, should be over how the river then?
(系统自动生成,下载前可以参看下载内容)
下载文件列表
商人渡河/river.cpp
商人渡河/river.dsp
商人渡河/river.dsw
商人渡河/river.ncb
商人渡河/river.opt
商人渡河/river.plg
商人渡河
商人渡河/river.dsp
商人渡河/river.dsw
商人渡河/river.ncb
商人渡河/river.opt
商人渡河/river.plg
商人渡河
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.