-
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
-
ofdmwaterfilling
已知信道状态信息情况下的基于注水法功率分配的OFDM系统 并且和其它系统比较(Known channel state information in case of water injection method based on the OFDM power distribution system and other systems and compare)
- 2008-07-08 15:06:55下载
- 积分:1
-
HHT-emd
希尔伯特黄变换的matalb实现程序,包括emd分解、峰值检测等小程序,可用于模态参数估计。(Hilbert Huang Transform matalb implementation procedures, including emd decomposition, a small peak detection procedure can be used for modal parameter estimation.)
- 2012-01-01 16:56:04下载
- 积分:1
-
PowerTrace
电力市场中用于潮流追踪确定分摊费用的程序(Program for the electricity market trend tracking to determine the cost-sharing)
- 2021-01-31 23:20:01下载
- 积分:1
-
Wiener
说明: 维纳率波器的仿真研究,一个做圆周运动的物体,经观测后有一定的误差和噪声影响,经维纳滤波后轨迹更加清(Wiener rate of wave device simulation, a circular motion of the object to do by observing the error and after some noise by Wiener filtering path is more clear)
- 2010-04-10 20:13:41下载
- 积分:1
-
ODE45
用matlab画出洛伦兹吸引子的图片,就是比较有名气的那一只(The Lorenz Attractor)
- 2014-12-29 21:08:21下载
- 积分:1
-
xiaobao
说明: 数字信号处理中DSP中的matlab编程,有关汉明窗函数,汉宁窗以及凯撒窗的编写。(DSP digital signal processing in matlab programming, the Hamming window function, Hanning window, and the preparation of Caesar.)
- 2011-03-14 13:15:45下载
- 积分:1
-
Ball
bouncing ball made in matlab and i found it online its not my creation
- 2012-05-01 07:57:29下载
- 积分:1
-
wiener_match(PROGRAME)
维纳滤波器是基于最小平方的最优滤波器,有广泛的使用,用于改变信号,提高分辨率(Wiener filter is based on the least squares optimal filter, widely used for the signal changes to improve the resolution)
- 2012-08-13 12:03:07下载
- 积分:1
-
BP神经网络交通预测
说明: bp神经网络预测程序,可用于与小波神经网络对比(BP Neural Network Prediction Program, which can be used to compare with Wavelet Neural Network)
- 2020-06-20 22:40:01下载
- 积分:1