Tri Tiling POJ - 2663 (用 1*2的方格 铺 3*n的方格多少种方法,递推)
In how many ways can you tile a 3xn rectangle with 2x1 dominoes? Here is a sample tiling of a 3x12 rectangle. InputInput consists of several test cases followed by a line containing -1. Each test case...
原创
2018-05-19 09:53:05 ·
1970 阅读 ·
1 评论