-
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
-
qqqqq
此程序实现构造小波基 (this program structure of this small Porgy program structure wavelet)
- 2007-06-07 05:52:22下载
- 积分:1
-
SIGNAL
SIGNAL FOR IMPULSE RESPONSE USING FILTER FIR
- 2013-12-26 16:44:07下载
- 积分:1
-
24GHZ_FMCW
24GHZ雷达的FMCW测距测速算法文档,,,24GHZ雷达的FMCW测距测速算法文档,,,(24 GHZ range of FMCW radar velocity algorithm document,,,24 GHZ range of FMCW radar velocity algorithm document,,,)
- 2016-11-09 10:15:18下载
- 积分:1
-
DigitalSignalofMatlab
数字信号处理,包括:各种现有信号及随机信号的输入,从文件读取数据的输入,各种滤波器的实现,傅里叶变换等,傅里叶反变换等,谱分析,利用图形界面形式编写,简单且可视化强,便于理解。(Digital Signal Matlab)
- 2009-11-24 16:19:28下载
- 积分:1
-
MRTD2D_TE_DB_FDTD
基于2阶消失矩的Daubechies尺度函数的TE波2维MRTD仿真,吸收边界条件为FDTD/PML连接边界。(2D MRTD TE mode baseed on 2nd-vanishing moments of Daubechies scaling function simulation, the absorbing boundary condition is FDTD/PML connection boundary.)
- 2012-04-24 15:13:15下载
- 积分:1
-
bp339
BP算法的MATLAB实现,从而实现了BP预测的算法,这是一段简单的小程序。(BP algorithm MATLAB realize in order to achieve a BP prediction algorithm, which is a simple procedure.)
- 2008-04-11 11:03:02下载
- 积分:1
-
denoisingonwavelet
利用小波进行图形的降澡,对于一般的图像来说效果明显(Carries on the graph using the wavelet to fall the bath, is obvious regarding the general image effect )
- 2009-05-17 10:25:07下载
- 积分:1
-
88568477Allan
this ias uase in anay appacation
- 2011-12-01 01:09:38下载
- 积分:1
-
fft
fft,本代码主要介绍fft的主要步骤,非常简单有很明了,非常适合阅读
(FFT, the code describes the main steps of FFT are very clear, very simple, very suitable for reading)
- 2015-04-20 10:00:27下载
- 积分:1