国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

POJ 2506

2019-11-08 03:17:10
字體:
來源:轉載
供稿:網友
Tiling
Time Limit: 1000MS Memory Limit: 65536K
Total Submissions: 9748 Accepted: 4603

Description

In how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles? Here is a sample tiling of a 2x17 rectangle. 

Input

Input is a sequence of lines, each line containing an integer number 0 <= n <= 250.

Output

For each line of input, output one integer number in a separate line giving the number of possible tilings of a 2xn rectangle. 

Sample Input

2812100200

Sample Output

317127318451004001521529343311354702511071292029505993517027974728227441735014801995855195223534251

Source

The UofA Local 2000.10.14
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 灌南县| 焦作市| 峨山| 永州市| 九寨沟县| 邵阳县| 禹城市| 定远县| 若尔盖县| 大关县| 夏河县| 霍城县| 尉犁县| 江川县| 洛扎县| 湖南省| 阜新| 苏尼特左旗| 丰城市| 两当县| 宁安市| 健康| 长葛市| 晋宁县| 明星| 盐山县| 延吉市| 顺义区| 昔阳县| 余江县| 德兴市| 新和县| 理塘县| 吉首市| 锦州市| 墨玉县| 白河县| 东丽区| 讷河市| 淄博市| 晋城|