-
0
说明: 给定n种物品和一个背包,物品i的重量是Wi,价值是vi,被包容量是C,应该如何选择装入被包的物品,使得装入背包中物品的总价值最大?对于每种物品i,只有两种选择,装入或者不装入.
输入:第一行两个正整数n(物品数)和C(容量)
第二行n个正整数n,表示物品价值
第三行n个正整数n,表示物品重量
输出:第一行表示总价值
第二行n个数(0/1),0表示物品不装入,1表示装入
例如,
输入:
5 10
6 3 5 4 6
2 2 6 5 4
输出
15
1 1 0 0 1
(Species of a given n items and a backpack, the weight of item i is Wi, the value of vi, was packet capacity is C, should be how to choose a package of items to be loaded, the backpack load in the largest total value of goods? For each item i, there are only two options, loaded or not loaded. Input: the first line of the two positive integer n (the number of items) and C (capacity) of the second line of n positive integer n, that the value of the third line of n positive integer n, that the weight of output: the total value of the first line of the second line, said n number of (0/1), 0 that the items do not load, that load 1 for example, enter: 5,106,354,622 6 5 4 output 15 1 1 0 0 1)
- 2009-07-01 23:07:01下载
- 积分:1
-
sound_test
通过BUTTERWORTH滤波器,讲语音信号中的噪声过滤掉.(By BUTTERWORTH filter, speaking voice signal in the noise filtered out.)
- 2009-12-13 13:45:25下载
- 积分:1
-
f_EnMQAM
通过MATLAB对4G OFDM基带系统进行仿真模拟,对系统性能进行分析,以待后进学习研究。(By MATLAB on 4G OFDM baseband system simulation, system performance analysis to be less advanced study and research.)
- 2010-05-28 10:23:44下载
- 积分:1
-
findimage
invokes image dialog box for interactive image loading
- 2010-08-05 23:06:50下载
- 积分:1
-
txcl2
医学影像处理,图像处理相关的图像处理学习指导(Medical Image Processing, Image Processing Image Processing related study guide)
- 2011-05-04 14:17:55下载
- 积分:1
-
pofacets4.1
matlab 电磁散射特性计算。目标几何建模。电磁特性参数设置。电磁回波计算。(electromagnetics computing.matlab code. three dimensions target building. electromagnetics parameters setting. electromagnetics echo computing)
- 2020-11-08 18:39:48下载
- 积分:1
-
(EN_CN)SVM-Introduction-
网上能下载的本书的中文版均缺少89和97两页,又此书已绝版,本人只好从英文完整版中摘录缺少的内容,分别补全了这两页的内容。注:英文完整版也已经作为PDF的附件加了进去。
我也上传到了IASK,不能下载的朋友可以去搜索“(中文版)支持向量机导论.rar”(Internet can download the Chinese version of the book were missing two 89 and 97, and the book is out of print, I had to excerpts missing content from the English full version, respectively, to complement the content of the two pages. Note: The full version of English has also been added as an attachment inside a PDF.
I also uploaded to the IASK, can not download friends can go search for "(Chinese version) Introduction to Support Vector Machines. Rar")
- 2013-11-27 23:58:27下载
- 积分:1
-
pitch
Matlab/Simulink model for modelling pitiching of an automotive chassis
- 2010-09-17 17:11:46下载
- 积分:1
-
RLS2
echocancellation using the RLS method
- 2009-06-09 03:59:52下载
- 积分:1
-
capacity_cdf_mimo
mimo capacity_cdf_mimo graph drawing
- 2011-07-30 23:31:45下载
- 积分:1