-
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
-
w3_generalization
machine learning 方面有关于Generalization and Bayesian Introduction的资料,语言是python(machine learning aspects of information concerning Generalization and Bayesian Introduction, language is python)
- 2013-12-07 23:11:31下载
- 积分:1
-
matlab_pmsg-wind
matlab simulink model for pmsg wind ready model....
- 2015-02-14 14:44:51下载
- 积分:1
-
gridd-connected-pv-systems
gridd connected pv systems
- 2012-04-03 19:52:01下载
- 积分:1
-
gaiqai_v65
最小均方误差(MMSE)的算法,多姿态,多角度,有不同光照,包括调制,解调,信噪比计算。( Minimum mean square error (MMSE) algorithm, Much posture, multi-angle, have different light, Includes the modulation, demodulation, signal to noise ratio calculation.)
- 2016-05-24 11:07:50下载
- 积分:1
-
NeuralNetwork
说明: 神经网络滑膜变结构控制MATLAB和simulink仿真程序。(Variable structure neural network control of synovial MATLAB and simulink simulation program.)
- 2010-04-11 18:55:05下载
- 积分:1
-
MATLAB
matlab的一些常见算法的小合集
大概有几十个(Some common algorithms matlab small collection of about dozens of)
- 2010-05-28 16:57:07下载
- 积分:1
-
ENCP
a complete program for calculating and plotting effective nuclear charge
- 2014-12-13 02:20:53下载
- 积分:1
-
gaifeng
有小波分析的盲信号处理,基于欧几里得距离的聚类分析,代码里有很完整的注释和解释。( There Wavelet Analysis Blind Signal Processing, Clustering analysis based on Euclidean distance, Code, there are very complete notes and explanation.)
- 2016-05-11 14:36:14下载
- 积分:1
-
matlab-2
数字信号处理清华大学出版社第二版
课本matlab源码(Digital Signal Processing, Tsinghua University Press, second edition of the textbook matlab source)
- 2011-04-18 21:09:57下载
- 积分:1