Problem1998--1999年秋浙江省计算机等级考试二级C 编程题(1)

1998: 1999年秋浙江省计算机等级考试二级C 编程题(1)

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1  Solved: 1
[Status] [Submit] [Creator:]

Description

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

         m!         

n! (m-n)!

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

Input

m n

Output

对应表达式的值

Sample Input Copy

2 1

Sample Output Copy

2