摘要: TilingTime Limit:1000MSMemory Limit:65536KTotal Submissions:5935Accepted:2893DescriptionIn how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles?Here is a sample tiling of a 2x17 rectangle.InputInput is a sequence of lines, each line containing an integer number 0 <= n <= 250.OutputFo 阅读全文
posted @ 2012-02-24 20:52 Stephen Li 阅读(595) 评论(0) 推荐(0) 编辑