摘要:
一道简单分治题 题目描述 我们可以用2*1的小矩形横着或者竖着去覆盖更大的矩形。请问用n个2*1的小矩形无重叠地覆盖一个2*n的大矩形,总共有多少种方法? 先模拟一下 n = 1 res = 1 n = 2 res = 2 n = 3 res = 3 n = 4 res = 5 ... 可以看出 r 阅读全文
摘要:
今天在牛客上做到了这样一道题目: The Orchid Pavilion(兰亭集序) is well known as the top of “行书”in history of Chinese literature. The most fascinating sentence is "Well I 阅读全文