Type: Default 1000ms 256MiB

排列组合

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.

题目背景

小明又被叫起来回答问题了。

题目描述

输入两个整数a,ba,b,求从aa个小球中选bb个的方案有几种。(若输入的数不符合正确的两个合的数,则输出"错误")

输入

两个整数a,ba,b

输出

关于a,ba,b的排列组合。(详见样例)

样例1

12 2
A12 2:132
C12 2:66

样例2

5 4
A5 4:120
C5 4:5

数据范围

1<=a,b<=201 <= a,b <= 20

小明

Not Attended
Status
Done
Rule
OI
Problem
13
Start at
2024-6-16 7:00
End at
2025-1-10 15:00
Duration
5000 hour(s)
Host
Partic.
5