Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|

Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |

Language: Quad Tiling
Description Tired of the Tri Tiling game finally, Michael turns to a more challengeable game, Quad Tiling: In how many ways can you tile a 4 × Input Input consists of several test cases followed by a line containing double 0. Each test case consists of two integers, Output For each test case, output the answer modules Sample Input 1 10000 3 10000 5 10000 0 0 Sample Output 1 11 95 Source POJ Monthly--2007.10.06, Dagger |

[Submit] [Go Back] [Status] [Discuss]

All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di

Any problem, Please Contact Administrator