-
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 simulation of multi-agent first-order and second-order consistency is used to realize the formation control)
- 2021-03-18 18:49:19下载
- 积分:1
-
shuju_1hao_12mi
本程序是利用matlab来处理数据,将EXcel表格的数据转换成txt文档,然后进行相关处理(It can deal with the data by Matlab)
- 2012-06-20 08:48:22下载
- 积分:1
-
relay-protection-in-MATLAB
7.1 简单数字滤波器的MATLAB辅助设计和分析方法7.2 微机继电保护算法的MATLAB辅助设计和分析方法7.3 输电线路距离保护的建模与仿真7.4 Simulink在变压器微机继电保护中的应用举例7.5 输电线路故障行波仿真举例
(7.1 Simple digital filter MATLAB-aided design and analysis methods 7.2 microcomputer relay protection algorithm MATLAB-aided design and analysis methods 7.3 Transmission Line Distance Protection 7.4 Simulink modeling and simulation of the transformer relay protection Application Examples 7.5 Transmission Line Examples traveling wave fault simulation)
- 2013-08-22 11:51:20下载
- 积分:1
-
Affine-invariant
Affine-invariant shape matching and recognition under partial occlusion
- 2014-09-23 20:59:16下载
- 积分:1
-
1156
增强,计算目标个数及周长增强,计算目标个数及周长(Increased number of objects and calculate the circumference increased number of objects and calculate the perimeter)
- 2010-05-06 10:26:33下载
- 积分:1
-
VMD_test2
说明: 变分模态分解程序,包括函数和测试程序,已加中文注释,另有说明文档。(The program of variational mode decomposition, including function and test program, has been annotated in Chinese and provided with other documents.)
- 2020-06-05 21:13:40下载
- 积分:1
-
Mpsk
对数字基带(频带)传输系统进行仿真,并通过蒙特卡罗误码率仿真方法进行时域、频域分析误码性能。(The digital base-band (band) transmission system simulation, and Monte Carlo simulation method for bit error rate in time domain, frequency domain analysis of BER.)
- 2009-04-19 17:37:56下载
- 积分:1
-
qpsk
摘 要:根据HFC网络上行信道的特性,建立了信道模型 分析了上行信道中存在的各种噪声对QPSK
调制技术的影响。结果表明在C /N (传输信道载噪比)较低的情况下,采用QPSK调制方式,可以提高系
统的抗干扰能力。
关键词: QPSK 光纤同轴电缆混合网 上行信道 噪声(Abstract: HFC network in accordance with the characteristics of the uplink channel, the establishment of a channel model an analysis of the various uplink channel noise on the impact of QPSK modulation. The results show that the C/N (transmission channel carrier-to-noise ratio) lower, the use of QPSK modulation, can improve the system of anti-interference ability. Keywords: QPSK hybrid fiber coaxial cable network uplink channel noise)
- 2009-04-12 15:45:03下载
- 积分:1
-
Kalman
卡尔曼滤波在目标跟踪中应用仿真研究,有视频,可直接运行~(Kalman filtering applications in target tracking simulation study, the video can be directly run ~)
- 2020-06-29 03:40:02下载
- 积分:1