登录
首页 » 算法 » 输入汉诺塔的总阶数,就可以显示汉诺塔的移动步骤,即每一步的移动,最后显示移动的总次数...

输入汉诺塔的总阶数,就可以显示汉诺塔的移动步骤,即每一步的移动,最后显示移动的总次数...

于 2022-03-20 发布 文件大小:550.00 B
0 182
下载积分: 2 下载次数: 1

代码说明:

输入汉诺塔的总阶数,就可以显示汉诺塔的移动步骤,即每一步的移动,最后显示移动的总次数-Enter the Tower of Hanoi s total order, we can show the movement of Hanoi Tower, that is, to every step of the movement, and finally show the total number of mobile

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

发表评论

0 个回复

  • 隐式曲面求解的源代码,用户可以输入隐式曲面,得到mxmxm的网格数据...
    隐式曲面求解的源代码,用户可以输入隐式曲面,得到mxmxm的网格数据-Implicit surface to solve the source code, users can enter implicit surface, the grid data mxmxm
    2022-05-17 08:28:55下载
    积分:1
  • Modern C++ Design 一书中实现的程序库,全面体现Policy Based Programming 的灵活,提供了诸多设计模式何smart poi...
    Modern C++ Design 一书中实现的程序库,全面体现Policy Based Programming 的灵活,提供了诸多设计模式何smart pointer的灵活实现,强烈推荐!--The program library which has been realized in the book >, it embodies the flexibility of Policy Based Programming, and provides the realisation of various design models of the smart pointer, it`s recommended strongly!
    2022-01-26 00:25:01下载
    积分:1
  • Lms 2
    LMS算法在atennas用于抑制interferances。该算法使用一个随机输入,25元件,一个lambda/ 2元件间的距离,亩=0.008,以获得最佳的波束形成,并在信号的到达方向上的较高的功率。
    2023-02-21 13:25:03下载
    积分:1
  • This is a float to float into the IEEE process, the type of electrical parameter...
    这是一个将浮点数转换成IEEE浮点数的程序,可以对电气类的参数设置和调试有帮助。此程序可以生成西门子变频器的调试代码的psw部分。-This is a float to float into the IEEE process, the type of electrical parameter setting and debugging help. This procedure can generate Siemens inverter Debugging valid part of the code.
    2022-06-17 08:33:15下载
    积分:1
  • 深度优先搜索
    给出了一个所选顶点的无向加权的图。在所述连接组件 (包括所选一) 属于所选的顶点的地方找到的顶点的数量。输入第一行包含两个整数 n 和 s (1 ≤ 的 ≤ n ≤ 100),其中 n-的图和 s-选择顶点的顶点的数量。下面的 n 行包含 n 个数字 — — 在 MDM 图的邻接矩阵图"0"表示没有顶点和数字"1"之间的边缘-其可用性。这被保证该矩阵的主对角线将始终为零。输出打印所需的数量的顶点
    2022-02-24 12:49:55下载
    积分:1
  • MP3播放器: 利用API函数[mciSendString]可以轻松实现MP3音乐文件的播放。下面这段程序实现了MP3播放的大部分常规操作,对其稍加修改,做一个...
    MP3播放器: 利用API函数[mciSendString]可以轻松实现MP3音乐文件的播放。下面这段程序实现了MP3播放的大部分常规操作,对其稍加修改,做一个100KB大小的MP3播放器轻而易举 启动VB程序,在窗体上放置6个命令按钮,三个标签,一个公用对话框、一个进度条、一个状态栏和一个计时器,窗本的布置请参考附图 按钮"Open MP3 File"是用来打开对话框选择MP3文件,其他5个按钮分别为Play(播放)、Pause(暂停)、Stopplay(停止播放)、Back(向后跳跃)、Prew(向前跳跃)。Label1用来表示歌曲当前时间;label2放在时度条的最左边,Caption属性为"00:00";lable3放在时度条的右边,用来表示歌曲总长。-MP3 player : API function [mciSendString] can easily MP3 music player. Below this program of the MP3 player most of the conventional operation, its slightly modified, so the size of a 100KB MP3 player easily activated VB procedures, the forms to place orders six buttons, three label, a common dialog, a progress of a status bar and a 000 timer, the window layout of the buttons refer to the attached map. "MP3 File Open" is used to open the dialog box choose MP3 files, the other five buttons for Play (player), Pause (suspended), Stopplay (Cessation of players), Back (backwards jump), Prew (leap forward). Label1 songs said to the current time; Label2
    2023-08-08 11:10:03下载
    积分:1
  • 一个实现多项式加的小程序
    一个实现多项式加法的小程序-a polynomial addition to the small program
    2022-01-21 04:03:19下载
    积分:1
  • 机图形学(二维图形的创建)
    计算机图形学中二维几何的变换包括: 基本的二维几何变换、矩阵表示和齐次坐标、逆变换、二维复合变换、几何变换的光栅方法、OpenGL光栅变换、二维坐标系间的变换,其中最重要的是OpenGL二维几何变换函数。
    2022-02-26 15:10:56下载
    积分:1
  • 点云的配准icp
    icp算法源代码,主要用于点云拼合,是基于matlab上编写的,实现两个点云数据的对准
    2023-07-20 23:15:04下载
    积分:1
  • 给定n 个物品, 物品i重为wi 并且价值为 vi ,背包所能承载的最大容量为 W. 0...
    给定n 个物品, 物品i重为wi 并且价值为 vi ,背包所能承载的最大容量为 W. 0-1 背包问题即是选择含有着最大总价值的物品的子集且它的容量 ≤W . 用动态规划实现-given n goods, items i weight of wi and value of vi, the backpack can carry a maximum capacity of W. 0-1 knapsack problem that is a choice with a maximum total value of the goods but a subset of the W capacity. Dynamic Programming
    2022-03-09 15:39:44下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载