-
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
-
gg1
matlab聚类分析源代码,本程序采用的是系统聚类方法。(the programe of matlab )
- 2010-05-07 16:47:00下载
- 积分:1
-
ceff
光参量放大中信号波长对转换效率的影响matlab仿真代码(Optical parametric amplification of the signal wavelength conversion efficiency of matlab simulation code)
- 2021-05-09 00:28:35下载
- 积分:1
-
ZBUILDPI
zbus model for 10 bus moltlti machin
- 2012-10-04 22:24:40下载
- 积分:1
-
2ask-2fsk-2psk
三种基本调制方式(2ask 2fsk 2psk)的仿真源码 解调方式为相干解调,过程较详细,推荐下载(Three basic modulation (2ask 2fsk 2psk) Demodulation of the simulation source code for the coherent demodulation, the process in more detail, it is recommended to download)
- 2020-07-21 10:38:45下载
- 积分:1
-
SEP
SEP协议的源代码,真实有效可靠,可以直接用于MATLAB软件仿真模拟。(The SEP protocol source code, real effective and reliable, and can be used directly in MATLAB software simulation.)
- 2013-04-11 10:22:40下载
- 积分:1
-
eeg_feature_extraction
对eeg的五个波段进行提取, 脑电信号数据原始采集的脑电,输出5个不同波段幅值,(extract 5 wave bands of eeg signals)
- 2020-08-27 17:08:13下载
- 积分:1
-
mySMOTE
说明: smote算法,用于扩充对数据的采样,当某类样本量较小时,做神经网络对它的类型判断错误率就会较高,所以需要调整采样,语言matlab(smote Algorithms,which used to expand the sampling of data)
- 2019-06-29 14:54:32下载
- 积分:1
-
Desktop
conversion rgb to YCbCr
- 2011-01-28 09:40:24下载
- 积分:1
-
matlab-excelatable
实现matlab中GUI excel与table控件的交互,内含包括uitable用法(Matlab interact with the GUI excel table controls, embedded usage including uitable)
- 2014-01-16 11:25:37下载
- 积分:1