Tổ hợp

View as PDF

Points: 100 (p) Time limit: 1.0s Memory limit: 1G Input: stdin Output: stdout

Tính \(C(k, n) = \frac{n!}{k! \times (n - k)!}\)

Input

  • Một dòng duy nhất gồm 2 số \(k, n\) \((0 \leq k \leq n \leq 15)\).

Output

  • Một dòng duy nhất là kết quả của bài toán.

Example

Test 1
Input
1 2
Output
2
Test 2
Input
3 6
Output
20

Comments

There are no comments at the moment.