跳马问题
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目背景
在爱与愁的故事第一弹第三章出来前先练练四道基本的回溯/搜索题吧……
题目描述
中国象棋半张棋盘如图 所示。马自左下角 向右上角 跳。规定只能往右跳,不准往左跳。比如图 中所示为一种跳行路线,并将路径总数打印出来。
输入格式
只有一行:两个数 ,。
输出格式
只有一个数:总方案数 。
4 8
37
提示
对于 的数据:
C23天河寒假作业2-基础数据结构
- Status
- Done
- Problem
- 14
- Open Since
- 2024-1-30 0:00
- Deadline
- 2024-3-31 23:59
- Extension
- 24 hour(s)