-
Windows_shell
Window Shell扩展编程编程的相关例子,想学shell编程的朋友有福了!(Window Shell-programming related to the expansion of programming examples, want to learn shell programming blessed Friend!)
- 2007-10-24 15:23:50下载
- 积分:1
-
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
-
chudeng
一个介绍matlab的课件,介绍初等模型的,相信对大家都有用处的,很好的课件。(An introduction matlab courseware to introduce elementary model, I believe we have useful, well courseware.)
- 2010-07-27 16:41:55下载
- 积分:1
-
new--2
维诺图 分治法 特别的实现方法 速度为n的平方及(Voronoi )
- 2014-12-03 16:06:10下载
- 积分:1
-
MatlabPID
笔者费了很大的经历找到的matlab实例资料,希望大家好好利用,绝对经典的好资料哦(Programming with vc for the sample program, which contains many of the author s experience, I hope you make good use of)
- 2011-12-22 10:18:56下载
- 积分:1
-
segy
用来计算线性拉登变换免费工具包包括 MATLAB 演示程序 产品信息和示例等等
(High Availability Large Data Sets, High Performance
)
- 2010-11-04 16:29:08下载
- 积分:1
-
luyin
matlab环境中可以实现在matlab中录音的功能(matlab luyin)
- 2010-12-13 22:46:09下载
- 积分:1
-
2.CirQueue
用C++template模板实现环形对,包括插入,删除,返回最大值等功能(Realize the ring right, including insert, delete, and other functions with the maximum return C++template template)
- 2014-12-01 19:09:58下载
- 积分:1
-
high-frequency-
高频段超方向性天线阵列设计 (Ultra high frequency band directional antenna array design)
- 2013-11-24 18:21:00下载
- 积分:1
-
MindVB_3Apr2K_Source
MATLAB,VB做成的神经网络计算程序(MATLAB, VB caused by the neural network program)
- 2007-05-04 18:03:21下载
- 积分:1