EX - 移动棋子
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.
Description
棋子现在在 点,它想 恰好 用 步移动到 点。它每一步可以移动到上下左右 相邻 的点,但不能移动到 轴下面,也不能移动到 轴左边。请你求出方案数。
- 注:“上上下下右右上上左左下下”是一个合法的移动。
Format
Input
Output
输出方案数,答案对 取模。
Samples
4 1 1
16
Limitation
[北辰杯 North-Star-Cup] 七月月赛
- Status
- Done
- Rule
- Ledo
- Problem
- 6
- Start at
- 2023-7-21 18:00
- End at
- 2023-7-22 0:00
- Duration
- 6 hour(s)
- Host
- Partic.
- 78