-
Question1
说明: C++源代码,递归实现。原问题描述:鼓上蚤时迁到一个山洞里去盗宝,里面有n件宝贝,价值分别是a1,a2......an,并且满足ai大于a1+a2+....+a(i-1)的和。他身上有一个背包,能装的东西最大价值是K,他只能进洞一次,请问他最多能带出多少?
要求:输入K,n,a1,a2......an
输出:他能最多带出的宝物价值
(C++ Source code Recursive achieve. The original problem description: drum when flea盗宝going to move in a cave, there are n pieces of treasure, valued are a1, a2 ...... an, and to meet ai than a1+ A22B !....+ a (i-1) and. Him to have a backpack, things can hold the greatest value is K, he could only hole once, to ask him to bring out the maximum number of? Requirements: Enter K, n, a1, a2 ...... an output: he can bring out the maximum value of the treasures)
- 2008-12-02 21:07:25下载
- 积分:1
-
bpsk
原版matlab bpsk信号的调制解调,可显示发送数据的波形,调制后的波形,接收波形,误码情况等(Original matlab bpsk signal modulation and demodulation, send data to display the waveform, the modulated waveform received waveform, error conditions, etc.)
- 2011-06-03 20:34:56下载
- 积分:1
-
xcl_time
基于有效算法的n节点电力系统,收敛速度快,准确度高,电力系统配电网潮流计算。(Efficient algorithm for the n-node power system, the faster convergence speed, accuracy, power system with the power flow calculation.)
- 2012-05-29 17:20:08下载
- 积分:1
-
Tamura-1
Tamura特征提取中的粗糙度、对比度、方向度的代码(Tamura feature extraction roughness, contrast, orientation, degree of code)
- 2013-03-06 21:14:41下载
- 积分:1
-
333
图形的原始信号和加噪声后的信号,以及原始信号的matlab程序,能够较好的实现信号的仿真(The graph after the original signal and processing noise signals, as well as the original signal matlab program, to be better able to achieve signal simulation)
- 2010-03-14 18:34:05下载
- 积分:1
-
energydetection
认知无线电频谱感知中,用能量检测算法实验频谱感知(Cognitive radio spectrum sensing, energy detection algorithm experimental spectrum sensing)
- 2013-05-03 10:47:23下载
- 积分:1
-
CART
用matlab编写的CART数据挖掘决策树算法(using Matlab CART prepared by the Data Mining Decision Tree Algorithm)
- 2005-06-04 18:17:34下载
- 积分:1
-
Bit-plane-map
灰度图像的位面图程序 matlab环境下写的 希望能有帮助(Gray image Bit plane map program, hopes to help you)
- 2013-11-19 12:21:15下载
- 积分:1
-
Beanmform
频域波束成形算法,适用于所有一维和二维阵列的波束成形计算。对于采样时间较短的信号,采用了2次分段,对于采样时间足够的信号则只需要1次分段计算。计算结果包含成像图结果和各扫描点处的频谱结果(Frequency domain beamforming algorithm, applicable to all one-dimensional and two-dimensional array beam forming calculations. For shorter sampling signal, using a second segment, the sampling time sufficient signal need only 1 segment calculations. Calculation results include the results of spectral imaging of the results of each scan point)
- 2016-05-24 14:10:05下载
- 积分:1
-
VideoWatermarking
利用matlab将帧视频嵌入水印,实现效果良好。(Video frames using matlab to embed a watermark to achieve good results.)
- 2021-01-10 16:48:51下载
- 积分:1