-
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
-
PV_MATLAB_Simulink_tutorial
This is simple model for photo voltaic cell (solar cell) using simulink/matlab
- 2012-05-17 10:28:37下载
- 积分:1
-
voicebox
voicebox 语音识别中用到的一些常用函数,比较好用(voicebox asr)
- 2010-06-02 11:04:17下载
- 积分:1
-
actuator1
Another file about actuator, please try it
- 2014-01-16 17:32:41下载
- 积分:1
-
Matlab
matlab 傅里叶变换 求包络 等对声音的处理文件(the matlab Fourier transform seeking envelope of sound processing files)
- 2012-12-03 20:00:21下载
- 积分:1
-
15772768jcontrolmatlabjava
在matlab中调用java的程序,简单好用,希望能帮助需要的人(using java program in matlab )
- 2012-05-03 16:41:50下载
- 积分:1
-
duo-mu-biao-xian-xing-you-hua
利用粒子群算法计算多目标线性优化问题的解(Using multi-objective particle swarm algorithm for solving linear optimization problems)
- 2014-09-15 21:57:07下载
- 积分:1
-
psoADFIR
matlab重要的学习资料 初学者的好帮手 程序代码非常重要 自适应滤波器设计参考文献(matlab important information for beginners to learn a good helper program code is very important reference adaptive filter design)
- 2010-10-06 19:59:38下载
- 积分:1
-
RS
说明: RS码的编码和译码程序,迭代译码,程序调试通过(RS encoding and decoding program code, iterative decoding, program debugging by)
- 2010-12-27 20:35:19下载
- 积分:1
-
spalgorithmpackage
子空间追踪算法(SP)程序包,包含示例程序,SP算法程序及附属程序(Subspace pursuit algorithm (SP) package includes sample programs, SP algorithm program and ancillary procedures)
- 2011-01-05 14:22:19下载
- 积分:1