-
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
-
QPSK
产生QPSK的简单程序,先产生0到3的随即数字,用这些数字产生相位,然后产生QPSK信号!(Get QPSK!)
- 2010-03-15 01:22:50下载
- 积分:1
-
Matlab-Collection
matlab程序设计基础,适合初学matlab的学生和用户,便于各种仿真(Matlab programming foundation, suitable for beginner the Matlab students and users to facilitate a variety of simulation)
- 2012-02-13 13:28:26下载
- 积分:1
-
MMC_17_Levels
17 level converter in simulink
- 2021-03-18 20:39:20下载
- 积分:1
-
GVF-snake
基于matlab的医学图像GVF算法分割,主要实现对2D医学图像的分割(image segmentation)
- 2013-05-06 09:08:58下载
- 积分:1
-
信号分析
信号分析系统,信号生成、调制、解调,包括神经元识别(Signal analysis system)
- 2018-05-15 09:10:41下载
- 积分:1
-
lyapunov
计算时间序列的最大的里雅普诺夫指数的函数,(Calculation of time series The largest Lyapunov index in the function,)
- 2009-02-24 14:19:58下载
- 积分:1
-
OFDM3
OFDM 的 MATLAB仿真程序,功能很强大(MATLAB simulation of the OFDM process, features a very powerful)
- 2009-05-02 21:22:47下载
- 积分:1
-
Nav-Sys-P-SAS
Fuzzy controller design and implementation in real time control
- 2012-03-23 03:09:05下载
- 积分:1
-
youcheng
游程编码 可运行自己亲测 有函数图像以及编码前和编码后的图像对比(RLE can run their own pro-test as well as a function of the image before encoding and the encoded image contrast)
- 2013-07-09 16:53:38下载
- 积分:1