Problem D
Wider Digbuild
Languages
en
is
Benni is once more playing the game Digbuild. Before he
looked at how a tunnel of width
Input
The first and only line of input contains two positive
integers
Output
Print the number of ways to place torches on
Sample Input 1 | Sample Output 1 |
---|---|
3 5 |
827 |
Sample Input 2 | Sample Output 2 |
---|---|
4 2 |
41 |
Sample Input 3 | Sample Output 3 |
---|---|
10 1 |
144 |