Problem B: [Python入门语法]组合数计算

Memory Limit:128 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:686 Solved:17

Description

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

Input

输入共2行,2个正整数,R和K

Output

输出C

Sample Input Copy

3
5

Sample Output Copy

10

加入题单

上一题 下一题 算法标签: