树雪题
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.
题目描述
求有多少个长度为 的序列 满足如下条件: 。
输入格式
输出格式
样例1输入
2 3 1
样例1输出
6
样例2输入
100 1000 500
样例2输出
657064711
数据范围
$对于另外 20\% 的数据 ,保证 2 ≤ n ≤ 10, 1 ≤ m ≤ 3, 0 ≤ k ≤ m − 1 。 $
$对于另外 30\% 的数据,保证 2 ≤ n ≤ 40, 1 ≤ m ≤ 100, 0 ≤ k ≤ m − 1 。 $
$对于 100\% 的数据,保证 2 ≤ n ≤ 1000, 1 ≤ m ≤ 5000, 0 ≤ k ≤ m − 1 。 $
8.27精英班模拟赛补题
- Status
- Done
- Rule
- OI
- Problem
- 4
- Start at
- 2023-8-28 18:00
- End at
- 2023-9-10 6:00
- Duration
- 300 hour(s)
- Host
- Partic.
- 8