#C. C++-组合数计算

    Type: Default 1000ms 256MiB

C++-组合数计算

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

Description

给定两个非负整数n和m(1<=n<=m<=15),编写函数计算组合数C(n, m)

image

Format

Input

第一行输入n(1<=n<=15)

第二行输入m(1<=m<=15)

Output

输出组合数C(n, m)的结果值

Samples

5
2
10
15
5
3003

Limitation

1s, 1024KiB for each test case.