登录
首页 » Java » Soct

Soct

于 2012-06-14 发布 文件大小:67KB
0 120
下载积分: 1 下载次数: 4

代码说明:

   假设有一个能装入总体积为T的背包和n件体积分别为w1 , w2 , … , wn 的物品,能否从n件物品中挑选若干件恰好装满背包,即使w1 +w2 + … + wn=T,要求找出所有满足上述条件的解。例如:当T=10,各件物品的体积{1,8,4,3,5,2}时,可找到下列4组解:(1,4,3,2),(1,4,5),(8,2),(3,5,2)。 [需求分析](Suppose there are a load of the backpack of the total volume of T and n volumes were w1, w2, ... wn items, whether selected from n items a number of exactly filled backpack, even if w1+w2+ ...+ wn = T, find out the solution of all the above conditions are met. For example: when T = 10, the volume of items {1,8,4,3,5,2}, can be found in the following four solutions: (1,4,3,2), (1,4,5 ), (8,2), (3,5,2). [Needs Analysis])

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Bayesian-Methods-for-Hackers
    说明:  贝叶斯统计推断相关资料和贝叶斯方法,学习贝叶斯不错的资料(Bayesian statistical inference related data and bayesian methods, learning bayesian good data)
    2020-06-24 01:20:02下载
    积分:1
  • MalmquistLuenberger
    基于R程序的malmquist-luenberger 指数的计算源代码。(Malmquist- luenberger index calculation based on R program source code.)
    2020-08-23 14:07:46下载
    积分:1
  • wucha_mian
    说明:  阵列存在幅相误差条件下的DOA估计算法仿真(Simulation of DOA estimation algorithm with amplitude and phase errors in array)
    2020-05-06 02:13:57下载
    积分:1
  • PE
    说明:  计算潜在蒸发,方法为彭曼法,需要气温、日照、风速等资料,具体详见程序界面(Pe calculation)
    2011-12-02 11:51:02下载
    积分:1
  • 多目标蚁群
    多目标蚁群算法用来求解多目标最小生成树问题(Multi-objective ant colony algorithm)
    2017-11-28 09:47:16下载
    积分:1
  • cov_cal
    内有图像协方差的计算,协方差间黎曼距离的计算等等(Within the calculation of the image covariance, the covariance between Riemannian distance calculation, and so on)
    2020-11-02 15:09:53下载
    积分:1
  • lineardifferent
    说明:  计算超短脉冲非线性传输的一个比较成熟的M文件(Calculation of nonlinear transmission of ultrashort pulse of a more mature M documents)
    2008-10-15 23:07:25下载
    积分:1
  • dcccccc
    电磁场 向量分析与场论基础 《向量分析与场论基础》就是关于场的数学刻画、描述以及场特征的一般分析。在本概要中,为简明区分向量与标量起见,向量一律采用黑、斜体。 (vector analysis and electromagnetic field theory based "vector analysis and field theory foundation" is on the mathematical characterization. and the description of the general characteristics of the market analysis. In the outline for concise distinction between vector and scalar sake, vector will be used black, in italics.)
    2007-03-12 21:21:12下载
    积分:1
  • EMD
    利用emd算法解决经验模式分解的一些存在的端点效应问题。 有效的解决了问题。(Using emd algorithm to solve some of the empirical mode decomposition end effects exist. Effective solution to the problem.)
    2020-10-19 16:27:25下载
    积分:1
  • 非线性方程组求解
    常用的matlab代码,非线性方程组求解,基本可以满足大学和研究生常用代码(Common Mathematical Codes)
    2019-04-22 23:23:03下载
    积分:1
  • 696518资源总数
  • 104226会员总数
  • 29今日下载