搜索资源列表
商人过河游戏
- tc下运行-tc moves
安全过河问题
- 该游戏是我由一个数学建模题——“安全过河问题”而构思的。有三个商人带者三个随从和货物过河, 船每次最多只能载两个人,要求保证在过河期间商人的人数要大于或等于随从的人数,否则随从杀人抢货。 构思: 用两个数组来表示两岸的商人和随从,其中 A 表示商人, B 表示随从,数组a 表示此岸,数组b表示彼岸 通过输入过河的人数,来改变两个数组中的 A 和 B 的个数,在用文本输出两岸的情况. 游戏规则是这样似的: 1)输入过河的人数; 2)非法输入按按了退出处理(如:每
river_games
- 商人过河游戏,游戏规则详见源代码注释部分-river businessmen game, the rules of the game see the source code Notes
rivercossing
- 一个关于商人过河的问题,渡般上的商人数和随从数,计算需要几次过河成功。-a businessman across the river on the issue, as on the transition to the number of followers and a few calculated the need to cross the river several times successfully.
cccccccccccc
- 商人过河问题C语言源码人工智能专题
177
- 商人过河 是一个游戏的c源程序代码
C源代码实例
- 包含220个C语言的各种源程序:001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010 猜数字游戏 011 模拟ATM(自动柜员机)界面 012 用一维数组统计学生成绩 013 用二维数组实现矩阵转置 014 求解二维数组的最大/最小元素 015 利用数组求前n个
WL40987330 C语言算法集
- 目录 第一部分 基础篇 001 第一个C程序 002 运行多个源文件 003 求整数之积 004 比较实数大小 005 字符的输出 006 显示变量所占字节数 007 自增/自减运算 008 数列求和 009 乘法口诀表 010&
207
- 一个模拟商人过河的游戏,游戏简单,不过学习价值大-a game
sr
- 商人过河的问题,三个商人各带一个仆人-Merchants across the river mathematical modeling problem is a classic problem
src
- 商人过河问题是数学建模中的一个经典问题,程序利用链表存储渡河状态,使用穷举的算法实现。该算法会找出N个商人/随从渡河的一个可行方案,但并不保证是最佳方案。写完这个程序后让我想到的居然是图的深度优先搜索,二者在查找的思想上是类似的。-Merchants across the river mathematical modeling problem is a classic problem, the use of list storage procedures to cross the river,
river
- 三个强盗和三个商人过河的算法,简单的入门级别算法。适合刚接触算法初级编程人员。-Three bandits and three businessmen across the river of the algorithm, a simple entry-level algorithm.刚接触algorithm suitable for junior programmers.
shangrenguohe
- C语言编写的《 商人过河游戏》带注释 在 win tc 下运行通过。-C language businessmen across the river game with notes in the win tc run through.
River
- 微软的面试题:商人过河 用Java编写,并且编译运行通过-Microsoft' s surface questions: Businessman preparing to cross the river using Java, and compiled to run through
207
- 商人过河游戏,游戏规则详见源代码注释部分,TC下运行-Games businessmen across the river, the rules of the game details, see the Notes part of the source code, TC run
GanBusi
- 用C++解决人工智能中经典的强盗和商人过河的问题-C++ solution using artificial intelligence in the classic gangster and businessmen of the problem across the river
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
boat
- 用MATLAB求解智力游戏商人过河问题,即m个商人和m个随从过河,船的容量为k,求解在保证河的任一岸商人数大于随从数的过河方案。-Puzzle Solving with MATLAB merchants across the river, namely, m-business and m-followers across the river, the ship has a capacity of k, to solve any one of the ensure that the river s
guohe
- 商人过河的MATLAB程序(最短路算法)-Businessmen crossing the MATLAB program (the shortest path algorithm)
river3_3
- 商人过河matlab完整代码 附详细解析啦啦啦啦啦啦啦啦啦啦啦(Merchant cross river matlab complete code attached to detailed analysis)