-
小时候,我看到过这样的一道智力题: 一个农夫带着一只狼,一只羊和一些菜过河。河边只有一条船,由于船太小,只能装下农夫和他的一样东西。在无人看管的情况下,狼要吃羊...
小时候,我看到过这样的一道智力题: 一个农夫带着一只狼,一只羊和一些菜过河。河边只有一条船,由于船太小,只能装下农夫和他的一样东西。在无人看管的情况下,狼要吃羊,羊要吃菜,请问农夫如何才能使三样东西平安过河。经过不难的推理,相信读者都能轻而易举的解出这道题。但是,我们是否能用计算机解这一道题呢?答案是肯定的。本文就让读者去领略一下计算机快速解决问题。-was a kid, I saw the intelligence that one : a farmer with a wolf, a goat and some vegetables across the river. Only a river boat, small boat, can only put under farmer and his thing. Unattended circumstances, the wolf to Qiyang, the sheep to the meal, ask the farmers how to make three things safely across the river. It is not difficult to read the reasoning, I believe readers are easily able to come up with Jesus. However, we can use the computer solutions for this and that? The answer is yes. This paper to let readers understand what computer quick fixes to the problem.
- 2022-03-07 10:02:15下载
- 积分:1
-
Object
《面向对象程序设计》练习1_8_4的源代码- Object-oriented programming, the source code of practice 1_8_4
- 2023-01-11 20:55:03下载
- 积分:1
-
在WINDOWS CE系统上EVC开发的XP按钮的源码
在WINDOWS CE系统上EVC开发的XP按钮的源码 -in Windows CE system EVC development of XP button FOSS
- 2022-01-26 06:31:00下载
- 积分:1
-
huffman tree 问题描述:设一份电文中有不同出现频率的字符,为了提高电文的输入和翻译效率,必须有一套简短而又不会产生歧义的字符代码。试根据哈夫曼算法,...
huffman tree 问题描述:设一份电文中有不同出现频率的字符,为了提高电文的输入和翻译效率,必须有一套简短而又不会产生歧义的字符代码。试根据哈夫曼算法,对电文中的不同字符,构造出一棵哈夫曼树,对每个字符进行编码。-Huffman tree Problem description : Let a message different frequency of the characters, in order to enhance the input and message translation efficiency, we must have a brief but no ambiguity of the characters code. Examination under Huffman algorithm, the message of characters, construct a Huffman tree for each character coding.
- 2022-10-09 01:35:04下载
- 积分:1
-
Visual C++ ADO数据库编程基础教程,word版
Visual C++ ADO数据库编程基础教程,word版-Visual C++ ADO database programming-based tutorials, word version
- 2022-10-03 01:25:03下载
- 积分:1
-
fgdhfg
堆排序 堆排序 堆排序 堆排序 堆排序 堆排序 堆排序 堆排序 -fgdhfg
- 2022-10-09 08:45:02下载
- 积分:1
-
Teach you how to use InstallShield8.0 production own Setup
教你如何使用InstallShield8.0制作自己的安装程序-Teach you how to use InstallShield8.0 production own Setup
- 2022-07-02 06:52:38下载
- 积分:1
-
黑白道小游戏,源代码,大家互相学习一下。
黑白道小游戏,源代码,大家互相学习一下。-Black and White Road, a small game, source code, we learn from each other about.
- 2022-02-28 09:55:25下载
- 积分:1
-
约束规划理论和相关算法设计的经典著作,约束规划作为求解资源受限的复杂优化问题,有较好的效果...
约束规划理论和相关算法设计的经典著作,约束规划作为求解资源受限的复杂优化问题,有较好的效果-a good tutorial to comstraint programming
- 2022-09-13 08:25:04下载
- 积分:1
-
遗传算法和蚂蚁算法融合的代码,比较好的利用了两种代码的优点,有很好的参考价值...
遗传算法和蚂蚁算法融合的代码,比较好的利用了两种代码的优点,有很好的参考价值-Genetic Algorithm and Ant Algorithm code integration, better use of the advantages of two kinds of code, have a good reference value
- 2023-08-08 05:05:03下载
- 积分:1