Poj 2992 Divisors(算数基本定理&素数因子个数)

我们首先来看一下题面:

Your task in this problem is to determine the number of divisors of Cnk. Just for fun -- or do you need any special reason for such a useful computation?

translation:在这个问题中,你的任务是确定C_{n}^{k}的因子个数。说着玩的——或者你需要我对这种益处多多的计算给出任何特别的理由吗?

Input

The input consists of several instances. Each instance consists of a single line containing two integers n and k (0 ≤ k ≤ n ≤ 431), separated by a single space.

translation:输入包含多个实例(多组输入警告)。每个实例包含一行,包含两个正数n和k,用空格分隔。

Output

For each instance, output a line containing exactly one integer -- the number of distinct divisors of Cnk. For the input instances, this number does not exceed 2 63 - 1.

translation:对于每个测试实例,输出仅包含一个整数的一行——

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值