Problem1070--求组合数

1070: 求组合数

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 29  Solved: 24
[Submit] [Status] [Web Board] [Creator:]

Description

编制程序,输入m,n(M>=n>=0)后,计算下列表达式的值并输出:

         m!         

n! (m-n)!

要求将计算阶乘运算的函数写为fact(n),函数返回值的类型为int

Input

m n

Output

对应表达式的值

Sample Input

2 1

Sample Output

2