登录
首页 » 算法 » 河内大厦实现步的运动,采用递归算法。

河内大厦实现步的运动,采用递归算法。

于 2022-07-20 发布 文件大小:8.33 kB
0 202
下载积分: 2 下载次数: 1

代码说明:

实现汉诺塔的移动步骤, 使用递归算法。-Tower of Hanoi realize the movement of steps, the use of recursive algorithm.

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

发表评论

0 个回复

  • //产生0
    //产生0-1之间均匀分布一个随机数// /////////////////////////////////////////////////////////////// //传入参数:r--双精度实型变量指针,指向的单元存放随机数种子值//// //传出参数:p:产生0-1之间均匀分布一个随机数 -//0-1 have a uniform distribution between random numbers// //////////////////////////////////// ///////////////////////////// imported parameters : r-- double precision real- variable pointer to the storage unit random number seed////// out parameters : p : 0-1 produce a uniform distribution between random numbers
    2022-05-19 12:42:14下载
    积分:1
  • (n,k,N)卷积码的维特比译码实现
    (n,k,N)卷积码的维特比译码算法实现,可实现1/2、1/3速率下卷积码为2、3、4、5、6、7、8、9的viterbi译码
    2023-05-05 17:05:03下载
    积分:1
  • 分酒问题C++源代码
    分酒问题C++源代码-hours liquor issue C source code
    2022-07-23 08:10:19下载
    积分:1
  • 在电压过零点触发或截至可控硅的导通或闭合;有效通断电压;应用稳定可靠;...
    在电压过零点触发或截至可控硅的导通或闭合;有效通断电压;应用稳定可靠;-Triggering voltage zero-crossing point or at the turn-on SCR or closed the effective on-off voltage application of stable and reliable
    2022-03-14 03:45:10下载
    积分:1
  • 数字带通滤波器的设计过程。共3个源程序。其中,dos.cpp为带通FIR的源程序,其中的滤波器阶数n,滤波器的低频fln,滤波器的高频fhn,窗函数w,可以按照...
    数字带通滤波器的设计过程。共3个源程序。其中,dos.cpp为带通FIR的源程序,其中的滤波器阶数n,滤波器的低频fln,滤波器的高频fhn,窗函数w,可以按照自己的要求改变。这里采用的是汉宁窗。主函数main.cpp实现输入与fir的h(n)的卷积,输出结果Y(n),并将其存储在y.txt中。最后,graphics.cpp从y.txt读取数据,再由语句画出波形,可以清楚地看出计算结果是否正确,并进行比较。-digital band-pass filter design process. A total of three sources. Among them, dos.cpp FIR bandpass to the source, the filter order n, the low-frequency filter FLN, the high-frequency filter fhn, window function w, in accordance with the requirements change. Here is the Hanning window. The main function main.cpp achieve the input and fir h (n) convolution, the output Y (n), and store them in y.txt China. Finally, graphics.cpp y.txt read data from and then draw waveform statement, we can clearly see whether calculations are correct, and comparisons.
    2022-01-24 14:42:03下载
    积分:1
  • 用户信息管理系统
    在有用户登录的平台中管理用户信息,并对用户密码进行加密,需要有数据库的支持,加密算法采用base64+SHA1,加密后的用户信息存放在数据库中,用户登录的时候进行认证,符合条件的允许登录,不符合的不允许登录。
    2022-02-07 08:48:32下载
    积分:1
  • 是一个利用VC实现的求星期几的小程序.它可以实现你所在日期的是星期几的查询.是一个比较简单的程序.
    是一个利用VC实现的求星期几的小程序.它可以实现你所在日期的是星期几的查询.是一个比较简单的程序.-VC is a realization of a few weeks for a small procedure. It can be achieved in your date is a few weeks of inquiries. It is a relatively simple procedure.
    2022-06-14 07:43:06下载
    积分:1
  • 二叉树的集合操作,附带一份程序的试验报告,相当优秀的程序,对深入理解二叉树很有帮助。...
    二叉树的集合操作,附带一份程序的试验报告,相当优秀的程序,对深入理解二叉树很有帮助。-binary tree assembly operation, accompanied by a program to the test report, the procedure quite excellent, in-depth understanding of binary tree helpful.
    2022-11-19 13:35:04下载
    积分:1
  • 键盘事件触发检测
    当单击鼠标左键时或者按下键盘一个按键,程序会检测到,并在窗口显示相关信息,适用于初学VC6.0winapp开发者参考。
    2022-08-24 20:27:01下载
    积分:1
  • 下棋的例子
    象棋是一个两个球员战略 棋盘游戏 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-02-15 07:47:41下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载