-
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
-
Matlab
这是MATLAB课件,有很多matlab常用的命令及使用方法,适合想学matlab的人(This is the MATLAB software, there are a lot of matlab commonly used commands and how to use, suitable for people who want to learn matlab)
- 2013-09-20 18:54:24下载
- 积分:1
-
OFDM_4QAM_SIMULINK
这里是课程设计时做的一个MATLAB-SIMULINK环境下OFDM的仿真源程序,采用16QAM的子载波调制系统,高斯模拟信道,有误码率分析以及星座图,希望对大家有所帮助(Here is a program designed to do a MATLAB-SIMULINK environment, OFDM simulation source code, using 16QAM subcarrier modulation system, Gaussian analog channel, with bit error rate analysis and the constellation, we want to help)
- 2010-06-21 10:50:10下载
- 积分:1
-
multimodal-ga
multiobjective Genetic algorithm with crowding distance
- 2012-05-06 12:56:02下载
- 积分:1
-
bvp4c2
matlab求解高阶偏微分方程边界问题,包括bvp4c.m,license.txt和(matlab solving warned partial differential equations of the border issue, bvp4c,sparse2.mexw32)
- 2012-11-24 20:23:06下载
- 积分:1
-
RLS
LSE算法应用,很好用,请使用(LSE algorithm applications, very good use, please use)
- 2008-07-01 19:28:04下载
- 积分:1
-
logisticBrifurcation
一 维 混 沌 系 统 分 岔 图 示 例(a chaotic system bifurcation diagram examples)
- 2006-06-03 14:41:24下载
- 积分:1
-
Neural-Network-training
一个用扩展卡尔曼滤波算法训练的神经网络matlab程序,值得学习(An extension of the Calman filtering algorithm neural network matlab program, it is worth learning)
- 2016-08-09 17:05:50下载
- 积分:1
-
DOA_estimationline
智能天线中多单元线形天线阵的波达方向估计(Smart antennas in multi-element linear antenna array of the Direction of Arrival Estimation)
- 2007-09-02 20:14:20下载
- 积分:1
-
imageprocess
数学形态学对信号进行去噪,效果较好,信号扰动特征得到很好保留(Morphology of the signal de-noising effect is good, the signal disturbance characteristics are well retained)
- 2010-08-03 14:06:40下载
- 积分:1