#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.

HBXX2024年春季学期期末C++社团编程操作比赛

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
3
Start at
2024-6-4 19:00
End at
2024-6-9 19:00
Duration
120 hour(s)
Host
Partic.
29