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,计算组合数C(n,m)的值, Cnm=n!m!(nm)!C_{(n,m)}= \frac {n!} {m! * (n-m)!}

此处n! 表示n的阶乘 阶乘举例:5!=5 * 4 * 3 * 2 * 1

输入 一行两个正整数n和m,之间用一个空格隔开,1≤m≤n≤20。

输出 一行一个正整数,表示答案。

样例 输入

5 2

输出

10

函数

Not Claimed
Status
Done
Problem
12
Open Since
2024-7-13 0:00
Deadline
2024-8-31 23:59
Extension
24 hour(s)