hdu1992(递推)
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1992题意:用1*2和2*1的小长方形铺垫4*W的方格有多少种方法。分析:假如新加入1列,这列都竖着,肯定有a[i]种,假如最后加入的方块要横跨最右那条边界,没有横跨到倒数第二列,则有4*a[i-2];当... 阅读全文
posted @ 2014-12-08 20:50 lienus 阅读(135) 评论(0) 推荐(0)
posted @ 2014-12-08 20:50 lienus 阅读(135) 评论(0) 推荐(0)
posted @ 2014-12-08 16:48 lienus 阅读(135) 评论(0) 推荐(0)
posted @ 2014-12-08 16:14 lienus 阅读(170) 评论(0) 推荐(0)
posted @ 2014-12-08 14:26 lienus 阅读(222) 评论(0) 推荐(0)