![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟-汉诺塔
你迎哥哥
这个作者很懒,什么都没留下…
展开
-
汉诺塔问题
汉诺塔:汉诺塔(又称河内塔)问题是源于印度一个古老传说的益智玩具。大梵天创造世界的时候做了三根金刚石柱子,在一根柱子上从下往上按照大小顺序摞着64片黄金圆盘。大梵天命令婆罗门把圆盘从下面开始按大小顺序重新摆放在另一根柱子上。并且规定,在小圆盘上不能放大圆盘,在三根柱子之间一次只能移动一个圆盘。--摘自百度百科。那么现在的问题就是有n片圆盘,问你从第一根柱子搬到第三根柱子需要搬多少次?答案是原创 2014-12-21 11:26:39 · 847 阅读 · 0 评论 -
HDU 1207 汉诺塔II
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1207汉诺塔IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5528 Accepted Submission(s):原创 2014-12-22 21:39:43 · 486 阅读 · 0 评论 -
HDU 2064 汉诺塔III
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2064汉诺塔IIITime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10408 Accepted Submission(s)原创 2014-12-22 21:57:29 · 419 阅读 · 0 评论 -
HDU 2077 汉诺塔IV
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2077汉诺塔IVTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4332 Accepted Submission(s):原创 2014-12-22 22:02:35 · 547 阅读 · 0 评论 -
HDU 1995 汉诺塔V
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1995汉诺塔VTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2979 Accepted Submission(s): 1原创 2014-12-28 22:43:37 · 953 阅读 · 0 评论 -
HDU 1996 汉诺塔VI
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1996汉诺塔VITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1671 Accepted Submission(s):原创 2014-12-28 22:48:57 · 515 阅读 · 0 评论 -
HDU 1997 汉诺塔VII
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1997汉诺塔VIITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1087原创 2014-12-28 22:50:36 · 833 阅读 · 0 评论