#1280. 马的遍历

马的遍历

题目描述:

在 n * m (1≤n,m≤20) 棋盘上有一中国象棋中的马: (1)马走日字; (2)马只能往右走。 请你找出所有可行的路径并计算路径条数,使得马可以从棋盘的左下角(0,0)走到右上角(n,m)。

样例:

8 5
46