Dominoes
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given a rectangular board of size . Find the number of ways to cover it with dominoes, which are rectangles of size cells.
Input
Two integers and are given on a single line.
Output
Print the number of ways to completely cover the board with the given dominoes.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 585
Acceptance rate 41%