搜索资源列表
shangrenguohe
- C语言编写的《 商人过河游戏》带注释 在 win tc 下运行通过。-C language businessmen across the river game with notes in the win tc run through.
c++
- 一、过河问题 二、南极冰山问题 传说中,南极有一片广阔的冰原,在冰原下藏有史前文明的遗址。整个冰原被横竖划分成了很多个大小相等的方格。在这个冰原上有N个大小不等的矩形冰山,这些巨大的冰山有着和南极一样古老的历史,每个矩形冰山至少占据一个方格,且其必定完整地占据方格。冰山和冰山之间不会重叠,也不会有边或点相连。 ACM探险队在经过多年准备之后决定在这个冰原上寻找遗址。根据他们掌握的资料,在这个冰原上一个大小为一格的深洞中,藏有一个由史前人类制作的开关。而唯一可以打开
River
- 过河问题,能够模拟多人过河的所有情况,给出遍历路径-Issues across the river, cross the river more than capable of simulating all the circumstances, given the path traversal
frog
- 有一条河,左边一个石墩(A区)上有编号为1,2,3,4,…,n的n只青蛙,河中有k个荷叶(C区),还有h个石墩(D区),右边有一个石墩(B区),如图3-1所示。n只青蛙要过河(从左岸石墩A到右岸石墩B)-There is a river, the left side of a stone (A zone) has numbered on 1,2,3,4, ..., n of n only frogs, the river has k-lotus leaf (C zone), also a Shi
RIVER
- 这是一个很经典的过河游戏上下键控制箭头回车选择-This is a very classic games across the river up and down arrow keys to control Enter Select
rivercross
- 一家人,歹徒及警察过河的问题,列举出了所有的过河方法,算法简单,实用性强-rivercross
farmer
- 简单的算法求解农夫过河,没有人机互动界面~!-Simple algorithm for the farmer across the river, there is no human-computer interaction interface ~!
crossriver
- 三个商人各带一名随从过河 随从们密约, 在河的任一岸, 一旦随从的人数比商人多, 就杀人越货. 但是乘船渡河的方案由商人决定.商人们怎样才能安全过河?-Three businessmen with an entourage of the entourage had a secret across the river, any river bank, once the number of followers more than businessmen on banditry. But to
207
- 本代码主要是教你如何实现商人过河游戏的方法,在这里是以C语言实现的-The code is mainly traders teach you how to approach the game across the river here is based on C language realization of the
guohe
- 过河问题:有一人要将自己的兔子、蔬菜和狐狸等三件物品运过河。过河所用的船每次只能装其中的两件,而这三件物品之间又存在一定的制约关系:兔子不能单独和狐狸以及不能和蔬菜在一起,因为狐狸要吃兔子,兔子也能吃蔬菜。试构造出问题模型,并编程实现这一问题的求解。-guohe
river
- 贪心算法作业的解题报告和源代码。问题描述:在深夜里,n 个人想要尽快地通过一条河。河上有一座狭小的桥,每次最多只能两个人一起过河。由于桥上的道路一片漆黑,他们必须用仅有一个手电筒,来照亮道路。已知 n 个人过河分别需要 t1,t2,…,tn 的时间,两个人一起过河所需要的时间是取决于速度较慢的人所需要的时间。请计算出 n 个人过河所需要的最小时间。-Greedy algorithm for solving the report and source code. Problem Descr ipt
across-the-river
- cout< "有一个农夫带一只羊、一筐菜和一只狼过河. "<<endl cout<<"如果没有农夫看管,则狼要吃羊,羊要吃菜."<<endl cout<<"但是船很小,只够农夫带一样东西过河。"<<endl cout<<"问农夫该如何解此难题?"<<endl-cout < < " there is a farmer with a sheep, a wolf across
ren
- 某人带狼、羊以及蔬菜渡河,一小船除需人划外,每次只能载一物过河。而人不在场时,狗要吃羊,羊要吃菜,问此人应如何过河?-A person with a wolf, sheep and vegetables to cross the river, a boat need not only draw people outside, each containing an object across the river only. And the person' s absence, the dog
shangrenguohe
- 商人过河程序,找了好久才找到的程序-shangrenguohe
10
- 有一农夫要将自己的兔子、蔬菜和狐狸等3件物品运过河。但农夫过河时所用的船每次最多只能装其中的一件物品,而这3件物品之间又存在一定的制约关系:兔子不能单独和狐狸以及不能和蔬菜在一起,因为狐狸要吃兔子,兔子也能吃蔬菜。试构造出问题模式以编程实现这一问题的求解-There is a farmer to own a rabbit, vegetables and foxes and other goods transported across the river 3. But the farmer cro
Businessmen
- 商人过河问题是数学建模中的一个经典问题,程序利用链表存储渡河状态,使用穷举的算法实现。该算法会找出N个商人/随从渡河的一个可行方案,但并不保证是最佳方案。-Businessmen river problem is Mathematical Modeling a classic problem, procedures use linked list storage crossing state, use exhaustive s algorithm. The algorithm will iden
vb_code
- VB程序实现三个商人带三个奴隶过河问题,穷举算法实现商人安全过河-shang ren guo he wen ti
shangrenguohe
- 经典的商人过河游戏,认真学习下会很有帮助的。-Classic games business across the river, under the careful study will be helpful.
srgh
- 一个关于商人过河的源程序,可以随着商人数与仆人数的变化解得-good
2
- 狼 ,农夫,山羊过河问题的程序实现,代码注释很清楚-Wolf, farmers, goat across the river to procedures for implementation, the code is very clear comments