1059: 组合数计算

Memory Limit:128 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:662 Solved:481

Description

C = K!/(R!*(K-R)!)(K > R > 0),输入R、K,求C

Input

输入2个正整数R和K

Output

输出C

Sample Input Copy

3 5

Sample Output Copy

10

加入题单

上一题 下一题 算法标签: