-
ForK1
我们的目的是将一个分数拆分成若干个分子是1分母是正整数的分数之和的形式。例如2/3可以拆分成1/2+1/6的形式。这里不考虑顺序,比如1/6+1/2和1/2+1/6相同。
输入p, q, a, n, 其中p/q为分数,对这个分数进行拆分,要求拆分的分数个数不能多于n个,所有分母的乘积不能大于a。求有多少种拆分方法?
输入:最多200组数据。在每行中都有四个数分别表示p, q, a, n,之间以空格隔开,并且满足p,q<=800,a<=12000,n<=7,最后以四个0做为输入的结束。
输入示例:
2 3 120 3
2 3 300 3
0 0 0 0
输出示例:
4
7
(Our aim is to split a fraction into a number of elements is a denominator is a positive integer fraction of the sum of form. For example, 2/3 can be split into 1/2+1/6 form. Not considered here, the order, such as 1/6+1/2 and 1/2+1/6 of the same. Input p, q, a, n, where p/q as a fraction of this split scores require no more than the number of split points n-all the product of the denominator can not be larger than a. How many kinds of demand split method? Input: Up to 200 sets of data. In each line has four numbers indicate the p, q, a, n, separated by a space between, and meet the p, q < = 800, a < = 12000, n < = 7, the end, four 0 as the input end. Input Example: 2,312,032,330,030,000 sample output: 47)
- 2009-11-12 09:54:17下载
- 积分:1
-
spectral_efficiency
Computing the spectral efficiency of the STBC
- 2012-09-09 18:40:30下载
- 积分:1
-
fortest
高斯金字塔 从网上找到代码,自己复制粘贴到,可以用(Gaussian pyramid from the Internet to find the code, copy and paste into their own, can be used)
- 2011-11-29 22:59:14下载
- 积分:1
-
Hallen3
海伦公式的学习程序 , matlab程序(Helen formulas learning program, matlab program)
- 2012-11-09 01:53:22下载
- 积分:1
-
Analytical_G_calc_New_PA_8GHz_Model
this m-file describe a power amplifier model.it is useful to model a power amplifier which has am-am and am-pm effects.
- 2015-04-17 16:46:18下载
- 积分:1
-
usematlabdesignafilter
用MATLAB设计一个低通和带通滤波器,传统的数字滤波器的设计过程复杂,计算工作量大,滤波特性调整困难,影响了它的应用。本文介绍了一种利用MATLAB信号处理工具箱(Signal Processing Toolbox)快速有效的设计由软件组成的常规数字滤波器的设计方法。给出了使用MATLAB语言进行程序设计和利用信号处理工具箱的FDATool工具进行界面设计的详细步骤。(design a digital filter use matlab)
- 2010-08-12 14:37:33下载
- 积分:1
-
ba
说明: 生成复杂网络之BA无尺度网络,有详尽的原理描述和参数说明。(BA generate complex networks of scale-free networks, there is a detailed description of the principles and parameters.)
- 2015-03-14 11:48:28下载
- 积分:1
-
hjfgf
黄金分割法求最小值,验证通过。可以在指定区间内,求得最小值(Golden section method for the minimum, verified by. Be within the specified range, the minimum value is obtained)
- 2013-12-17 23:32:28下载
- 积分:1
-
VggCameraCalib
牛津大学的多视图几何三维重建程序,经典算法matlab,非常全,对三维重建很有帮助(Multi-view geometry of three-dimensional reconstruction procedure, the classical algorithm matlab, very wide, very helpful for three-dimensional reconstruction.)
- 2020-12-08 11:39:19下载
- 积分:1
-
fig3_57_59_61
Desired beamformer, Beam patterns for broadband array(Desired beamformer, Beam patterns for broadband array)
- 2009-05-14 01:21:35下载
- 积分:1