-
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
-
xiaobo
建立小波神经网络负荷预测模型,并对小波神经网络的节点(输入层、中间层、输出层)进行选择,并选用合适的小波神经网络的训练函数,提高收敛速度和负荷预测精度。(The establishment of wavelet neural network load forecasting model, and wavelet neural network nodes (input layer, middle layer, output layer) to select and choose the appropriate wavelet neural network training function to improve the convergence speed and the load forecast accuracy.)
- 2020-11-10 20:09:46下载
- 积分:1
-
20081004
GMM 混合高斯自适应背景维护 可以用来做行人检测 等(GMM Gaussian Mixture adaptive background maintenance can be used to make the pedestrian detection)
- 2008-05-23 15:02:18下载
- 积分:1
-
Otsu-onethreshold
Otsu s method of threshold selection for image segmentation
- 2014-08-21 14:30:57下载
- 积分:1
-
randawgnqpsk-16qam
瑞利信道和高斯白噪声信道下qpsk和16qam性能对比(qpskand16qam)
- 2010-11-02 19:53:15下载
- 积分:1
-
ask
ask simulink matlab example
- 2010-02-17 18:47:57下载
- 积分:1
-
master_matlab
大家看看吧,很好的Matlab学习资料(Let everyone take a look at, very good learning materials Matlab)
- 2008-04-20 10:22:07下载
- 积分:1
-
simulation
communication Principles matlab simulation
- 2009-12-23 14:17:40下载
- 积分:1
-
32psk
32进制PSK仿真子程序,子程序计算4进制PSK调制的误码率(32 M-ary PSK simulation subprogram, subprogram 4 M-ary PSK modulation calculation of the bit error rate)
- 2009-06-08 22:23:00下载
- 积分:1
-
Virtex-5-Family-Overview
Virtex-5 Family Overview
- 2014-08-25 08:45:12下载
- 积分:1