![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
递归
文章平均质量分 74
笑着走完自己的路
这个作者很懒,什么都没留下…
展开
-
HDU 2041 超级楼梯
超级楼梯Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 33148 Accepted Submission(s): 17041Problem Description有一楼梯共M级,刚开始时你在第一级,若每次只能原创 2014-12-21 09:59:06 · 512 阅读 · 0 评论 -
hdoj 1134 Game of Connections 【catalan数列】
Game of ConnectionsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3468 Accepted Submission(s): 1975Problem DescriptionThis is原创 2015-05-06 13:30:42 · 605 阅读 · 0 评论 -
hdoj 1420 Prepared for New Acmer
Prepared for New AcmerTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7358 Accepted Submission(s): 2776Problem Description集训进行了原创 2015-04-24 20:05:38 · 435 阅读 · 0 评论 -
hdoj 3664 Permutation Counting 【递推 有点类似杨辉三角】
Permutation CountingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1404 Accepted Submission(s): 709Problem DescriptionGiven a原创 2015-06-09 21:31:22 · 494 阅读 · 0 评论 -
nyoj 76 超级台阶 【递归】
超级台阶时间限制:1000 ms | 内存限制:65535 KB难度:3描述 有一楼梯共m级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第m级,共有多少走法?注:规定从一级到一级有0种走法。输入输入数据首先包含一个整数n(1输出对于每个测试实例,请输出不同走法的数量。样例输入223样例输出12这道题用一原创 2015-01-19 11:32:06 · 513 阅读 · 0 评论 -
hdoj 2842 Chinese Rings 【递推 + 矩阵快速幂】
Chinese RingsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 773 Accepted Submission(s): 439Problem DescriptionDumbear likes原创 2015-09-16 00:15:24 · 478 阅读 · 0 评论 -
hdoj 5459 Jesus Is Here 【求公式 递推】
Jesus Is HereTime Limit: 1500/1000 MS (Java/Others) Memory Limit: 65535/102400 K (Java/Others)Total Submission(s): 87 Accepted Submission(s): 57Problem DescriptionI've sent Fang原创 2015-09-19 20:54:27 · 1163 阅读 · 1 评论 -
hdoj 1996 汉诺塔VI 【找规律】
汉诺塔VITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2078 Accepted Submission(s): 1481Problem Descriptionn个盘子的汉诺塔问题的最少移动次数是2^原创 2015-12-16 21:39:06 · 329 阅读 · 0 评论 -
Codeforces 599D Spongebob and Squares 【公式推导 暴力】
D. Spongebob and Squarestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSpongebob is already tired trying原创 2015-12-05 21:38:53 · 861 阅读 · 0 评论 -
hdoj 1995 汉诺塔V 【找规律 水题】
汉诺塔VTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3681 Accepted Submission(s): 2174Problem Description用1,2,...,n表示n个盘子,称为1号原创 2015-12-16 21:38:45 · 782 阅读 · 0 评论 -
hdoj 2067 小兔的棋盘 【catalan数列变形】
小兔的棋盘Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7404 Accepted Submission(s): 3931Problem Description小兔的叔叔从外面旅游回来给她带来了一个礼物,原创 2015-05-06 13:38:57 · 627 阅读 · 0 评论 -
hdoj 2709 Sumsets 【母函数 递归】
SumsetsTime Limit: 6000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1791 Accepted Submission(s): 701Problem DescriptionFarmer John commanded原创 2015-05-03 11:24:09 · 549 阅读 · 0 评论 -
hdoj 1465 不容易系列之一
不容易系列之一Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16375 Accepted Submission(s): 6793Problem Description大家常常感慨,要做好一件事情真的不容易原创 2015-04-21 22:21:06 · 464 阅读 · 0 评论 -
hdoj 1021 Fibonacci Again
Fibonacci AgainTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 40734 Accepted Submission(s): 19513Problem DescriptionThere are原创 2015-02-13 11:08:49 · 488 阅读 · 0 评论 -
HDU 2048 神、上帝以及老天爷
神、上帝以及老天爷Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 24195 Accepted Submission(s): 10107Problem DescriptionHDU 2006'10 ACM co原创 2014-12-21 10:46:56 · 454 阅读 · 0 评论 -
hdoj 1210 Eddy's 洗牌问题
Eddy's 洗牌问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3545 Accepted Submission(s): 2371Problem DescriptionEddy是个ACMer,他不仅喜原创 2015-02-02 19:39:06 · 503 阅读 · 0 评论 -
HDU 2058 The sum problem
The sum problemTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16596 Accepted Submission(s): 4958Problem DescriptionGiven a seq原创 2014-12-27 22:42:05 · 486 阅读 · 0 评论 -
hdoj 5018 Revenge of Fibonacci
Revenge of FibonacciTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 839 Accepted Submission(s): 373Problem DescriptionIn mathem原创 2015-03-01 12:49:29 · 425 阅读 · 0 评论 -
hdoj 2064 汉诺塔III
汉诺塔IIITime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11231 Accepted Submission(s): 5062Problem Description约19世纪末,在欧州的商店中出售一种智力原创 2015-03-19 20:04:41 · 620 阅读 · 0 评论 -
hdoj 2077 汉诺塔IV
汉诺塔IVTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4637 Accepted Submission(s): 3399Problem Description还记得汉诺塔III吗?他的规则是这样的:不允原创 2015-03-28 17:39:25 · 694 阅读 · 0 评论 -
hdoj 2085 核反应堆
核反应堆Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11457 Accepted Submission(s): 5225Problem Description某核反应堆有两类事件发生:高能质点碰击核原创 2015-03-28 20:38:56 · 519 阅读 · 0 评论 -
hdoj 2501 Tiling_easy version
Tiling_easy versionTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5938 Accepted Submission(s): 4666Problem Description有一个大小是 2原创 2015-04-10 17:06:23 · 549 阅读 · 0 评论 -
poj 2083 Fractal 【递归打印字符】
FractalTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 8356 Accepted: 3972DescriptionA fractal is an object or quantity that displays self-similarity,原创 2015-12-09 17:05:48 · 462 阅读 · 0 评论