-
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
-
1
灰色预测matlab程序与散点图的绘制的matlab程序(Grey prediction matlab program and scatter diagram of MATLAB program
)
- 2013-08-28 11:24:54下载
- 积分:1
-
pca
pca算法代码,清晰有注释,详细功能详细功能(PCA algorithm code, clear notes, detailed functional)
- 2013-05-21 13:12:26下载
- 积分:1
-
half_cycle_fourier_powersystem
Half wave fourier analysis in power system
- 2010-10-16 10:31:20下载
- 积分:1
-
xcoast3.tar
POM 模式在linux 系统中作netcdf输出后可以用此MATLAB插件作数据处理(POM model for the system in linux can use this after the netcdf output for data processing MATLAB plug-in)
- 2010-05-21 17:13:17下载
- 积分:1
-
rwt
这是一个小波包,里面有很多关于小波函数的东西(This is a wavelet package with lots of things about wavelet functions.)
- 2020-11-06 09:59:49下载
- 积分:1
-
bioinformatics by Baxevanis 中文版
随着人类基因组计划的实施,通过基因组测序,蛋白质序列测定结构解析等实验,分子生物学家提供了大量的有关生物分子的原始数据,需要利用现代计算技术对这些原始数据进行收集、整理、管理以便于检索使用。而为了解释和理解这些数据,还需要对数据进行比对、分析,建立计算模型,进行仿真、预测与验证,因而出现生物信息学,它的出现,极大的促进了分子生物学的发展。(With the human genome project implementation, through genome sequencing, protein sequencing experiments such as structural analysis, molecular biologists to provide a large amount of biological molecules of the original data, the need to use modern technology to these raw data collection, collation and management in order to facilitate retrieval use. To explain and understand these data, and data need to be compared to analysis, model, simulation, prediction and validation, therefore, bioinformatics, and its emergence has greatly promoted the development of molecular biology.)
- 2005-03-19 00:27:53下载
- 积分:1
-
CPSO
混沌粒子群算法理论文献,比较全面的概括了这一算法(Chaotic particle swarm theory literature, a more comprehensive overview of this algorithm)
- 2010-10-13 02:04:41下载
- 积分:1
-
cv2
Model Reference Adaptive Control
- 2013-11-15 22:45:02下载
- 积分:1
-
shaft-DIY-summary
四轴飞行器制作总结,包括四轴制作过程中马达、电调的选择,以及相关代码。(Four aircraft production summary, including the motor axis in the production process, the choice of power transfer, and the relevant code.)
- 2013-12-23 15:29:26下载
- 积分:1