Type: Default 1000ms 256MiB

选球

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.

背景

有n个互不同的球,从中取出m个,问有多少种办法,并对结果mod 100000007。

输入

第一行输入n和m

输出

题意所示

数据范围

0<n<100000,0<m<100000.

样例

10 3
120

第一届编程算法兴趣小组编程大赛

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
4
Start at
2022-4-21 14:00
End at
2022-4-21 15:00
Duration
1 hour(s)
Host
Partic.
37