登录
首页 » 算法 » 汉诺塔 C实现

汉诺塔 C实现

于 2022-02-12 发布 文件大小:10.42 kB
0 249
下载积分: 2 下载次数: 1

代码说明:

汉诺塔(又称河内塔)问题是源于印度一个古老传说的益智玩具。大梵天创造世界的时候做了三根金刚石柱子,在一根柱子上从下往上按照大小顺序摞着64片黄金圆盘。大梵天命令婆罗门把圆盘从下面开始按大小顺序重新摆放在另一根柱子上。并且规定,在小圆盘上不能放大圆盘,在三根柱子之间一次只能移动一个圆盘。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 奇异值分解
    奇异值分解的C++程序。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
    2022-07-04 09:41:55下载
    积分:1
  • 精通Matlab综合辅导与指南
    精通Matlab综合辅导与指南-proficient Matlab comprehensive counseling and guidance
    2022-01-21 05:41:20下载
    积分:1
  • 这个程序可以实现最优的2
    这个程序可实现最优二分检索树的构造,绘制和检索,请在Turboc 2.0下运行。-this procedure can achieve optimal two-tree structure retrieval, mapping and retrieval, please Turbo running under 2.0.
    2022-06-18 15:45:21下载
    积分:1
  • 根据相似度去文本重复
    数据挖掘根据相似度去文本重复的一个程序,用c++语言写的,可用于数据挖掘的预处理。
    2022-03-09 22:53:55下载
    积分:1
  • 该程序是用C语言写的采用了动量方的BP神经网络,它具有极其强大的扩展性,可用于函数的逼近及分类识别等各方面,语言书写规范,其中大量使用了动态分配一、二维数组的...
    该程序是用C语言写的采用了动量方法的BP神经网络,它具有极其强大的扩展性,可用于函数的逼近及分类识别等各方面,语言书写规范,其中大量使用了动态分配一、二维数组的方法,该网络实例中实现的是对某一函数的逼近,输入层为二层,中间层可自己设定多达十几层,逼近精度非常精确。读者可根据自己的需要设定各层的数目以及相应的训练样本进行训练与测试。-The program is written in C language using the momentum method of BP neural network, which has extremely powerful scalability, can be used for function approximation and classification in areas such as language specification, including large-scale use of a dynamically allocated one, two dimensional array of methods, examples of the network realize that the approximation of a function, for the second input layer, middle layer can be set as many as a dozen layers, close to very precise accuracy. Readers may need to be set in accordance with its own number of floors and the corresponding training samples for training and testing.
    2022-09-23 15:35:02下载
    积分:1
  • The answer of tree and binary tree
    第六章 树和二叉树习题答案-The answer of tree and binary tree
    2022-12-02 21:00:02下载
    积分:1
  • 这是几篇在逆向工程中有可能会用到的方差计的文章,挺不错的...
    这是几篇在逆向工程中有可能会用到的方差计算的文章,挺不错的-This is a few in the reverse engineering may be used in the calculation of the variance of the article, very good
    2023-09-05 04:40:04下载
    积分:1
  • 物联网智能信息处
    物联网智能信息处理算法的输入要从文件读取,具有通用性假设min_sup_count=2,在如下交易数据集上,验证算法结果的正确性
    2022-08-16 06:40:29下载
    积分:1
  • massive mimo Fundamentals, Opportunities and Challenges
    应用背景Massive multiuser MIMO (MISO): ◮ M ≫ K ≫ 1 (think 100 × 10 or 500 × 50) ◮ coherent, but simple, processing ◮ Potential to dramatically improve rate & reliability ◮ Potential to drastically scale down TX power ◮ Not only theory, at least one known testbed (64× ∼10) 关键技术 Massive MIMO Operation Not enough resources for pilots & CSI feedback, so operate in TDD. ◮ On the uplink, ◮ acquire CSI from uplink pilots and/or blindly from data ◮ detect symbols ◮ M ≫ K ⇒ linear processing (MRC, ZF, MMSE) nearly optimal ◮ On the downlink, ◮ use CSI obtained on the uplink ◮ make necessary adjustments based on reciprocity calibration ◮ apply multiuser MIMO precoding ◮ simple precoders desirable (and very good!): MRT, ZF, MMSE, ... ◮ MRC/MRT operation ◮ intracell interference will appear as
    2022-07-07 16:58:08下载
    积分:1
  • 术表达式求值的程序,用栈实现的,可以进行加、减、乘、除、乘方、求余计,支持小数和括号 (数据结构作业)...
    算术表达式求值的程序,用栈实现的,可以进行加、减、乘、除、乘方、求余计算,支持小数和括号 (数据结构作业)-arithmetic expression evaluates the procedures used stack to achieve, and can be, plus or minus, multiplication, addition, the involution, for I, support minority and brackets (data structure operations)
    2023-04-17 03:30:03下载
    积分:1
  • 696519资源总数
  • 104213会员总数
  • 20今日下载