登录
首页 » Visual C++ » hanno

hanno

于 2008-10-27 发布 文件大小:2KB
0 395
下载积分: 1 下载次数: 0

代码说明:

说明:  /汉诺塔递归算法过程解析: //汉诺塔(又称河内塔)问题是印度的一个古老的传说。开天辟地的神勃拉玛在一个庙里留下了三根金刚石 //的棒,第一根上面套着64个圆的金片,最大的一个在底下,其余一个比一个小,依次叠上去,庙里的众僧 //不倦地把它们一个个地从这根棒搬到另一根棒上,规定可利用中间的一根棒作为帮助,但每次只能搬一个, //而且大的不能放在小的上面。解答结果请自己运行计算,程序见尾部。面对庞大的数字(移动圆片的次数) //18446744073709551615,看来,众僧们耗尽毕生精力也不可能完成金片的移动。 //后来,这个传说就演变为汉诺塔游戏:(err)

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

发表评论

0 个回复

  • 97774083dnc_utf8
    数字转换工具,大写数字与小写数字的相互转换(Digital conversion tool, uppercase and lowercase digits digital conversion)
    2011-07-14 10:20:09下载
    积分:1
  • cj
    说明:  学生成绩管理 可以对输入各科成绩分数(Student performance management can enter various accomplishments Score)
    2008-05-17 22:36:53下载
    积分:1
  • matrix
    矩阵相关运算,例如求逆转置运算等 等功能(Matrix-related operations, such as seeking reversal of home computing and so on)
    2008-05-30 11:02:18下载
    积分:1
  • itto
    在windows2000,windows XP,2003上修改网卡IP地址并编程使之生效(In Windows 2003, Windows XP, 2003, modified on the network card IP address and programming into law)
    2017-04-11 13:42:05下载
    积分:1
  • matlab
    用于的峰值的探测,能够较好的获得波峰和波谷。(peak detection。)
    2021-01-02 15:38:57下载
    积分:1
  • paihang
    有2*n个盒子排成一行,其中有两个相邻的空盒,有n-1个盒子有符号 A ,有n-1个盒子有符号 B 。例如,n=5,并有初始配置如下: A B B A . . A B A B (2* n box row, wherein there are two adjacent empty box, n-1 of a box with the symbol ' A' , the symbol ' B' n-1 th box. For example, n = 5, and the initial configuration is as follows: ABBA .. ABAB)
    2013-02-25 18:43:03下载
    积分:1
  • Chang_display
    改变屏幕分辨率,程序控制动态改变屏幕的分辨率。(change the screen resolution, dynamic programmed to change the screen resolution.)
    2006-07-06 09:28:09下载
    积分:1
  • 16jinzhizhuanhuan
    16进制如何转化为10进制的,进制转换是需要注意什么,怎么样会更简单(0x d)
    2015-01-30 14:31:15下载
    积分:1
  • pinshu
    计数一个字符串中所有字符出现的频数,并全部输出(Count the number of frequency of all the characters in a string appears, and all output)
    2012-12-03 14:56:50下载
    积分:1
  • The-analog-phone-book
    模拟电话本,本程序是初学C++时候写得,作为初学者的参考(The analog phone book, this program is the beginner C++ when written, as a reference for beginners)
    2013-03-19 22:28:40下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载