-
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
-
Chirp0_grt_rtw
chirp信号仿真,用于超宽带通信系统中,编码简单易懂(chirp signal simulation for UWB communication systems, easy-to-read code)
- 2007-01-10 13:18:37下载
- 积分:1
-
untitled2223
电力系统 重合闸建模,能很好的对分布式电源的重合闸情况进行模拟(Reclosing power system modeling, can be a good situation for reclosing simulation of distributed power)
- 2014-01-15 10:15:56下载
- 积分:1
-
345678363532
无线传感器网络所具有的众多类型的传感器,可探测包括地震、电磁、温度、湿度、噪声、光强度、压力、土壤成分、移动物体的大小、速度和方向等周边环境中多种多样的现象。基于MEMS的微传感技术和无线联网技术为无线传感器网络赋予了广阔的应用前景。这些潜在的应用领域可以归纳为:军事、航空、反恐、防爆、救灾、环境、医疗、保健、家居、工业、商业等领域。(Wireless sensor networks have many types of sensors can detect, including seismic, electromagnetic, temperature, humidity, noise, light intensity, pressure, soil composition, the size of moving objects, velocity and direction of the surrounding environment, a variety of phenomena. MEMS based micro-sensor technology and wireless networking technology for wireless sensor networks given the broad application prospects. These potential applications can be summarized as: military, aviation, terrorism, explosion, disaster relief, environment, health, health, home, industrial, commercial and other fields.)
- 2010-05-19 20:07:02下载
- 积分:1
-
mog.KiranPhuyal.pptx.tar
Matlab programm for gaussian mixture model
- 2013-02-12 18:03:42下载
- 积分:1
-
main_robust_state
非线性系统的容错鲁棒控制程序代码 超级实用(fault-tolerant control of nonlinear systems)
- 2013-10-04 09:20:20下载
- 积分:1
-
CX
说明: 对结构损伤加速度值进行小波分析,再对其加载噪声,最后进行去噪处理(Acceleration values for structural damage analysis, and then the noise of its load, and finally de-noising)
- 2015-03-27 21:40:21下载
- 积分:1
-
matlab_workshop
matlab_workshop channel coding
- 2010-06-08 01:55:40下载
- 积分:1
-
xbhilbert
小波和希尔伯特两种算法对同一个信号进行处理后的比较,(It is about the wt and hilbert transform for the same signal)
- 2009-06-03 22:12:15下载
- 积分:1
-
Gpc123
说明: 这是一个MATLAB源代码,可以直接进行GPC仿真。(This is a MATLAB source code can be directly GPC simulation.)
- 2011-03-18 15:59:42下载
- 积分:1