登录
首页 » Java » Soct

Soct

于 2012-06-14 发布 文件大小:67KB
0 182
下载积分: 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 个回复

  • EmFDTD-v1.2r1
    一组很好的FDTD计算二维光子带隙的程序,matlab 7.0以上版本适用(a good group of FDTD calculation of two-dimensional photonic bandgap procedures, Matlab 7.0 and above versions of the application)
    2007-02-04 02:02:47下载
    积分:1
  • regrRR
    Ridge Regression RR 岭回归估计,是非常有用的非线性时间序列算法,在局部多项式预测中非常有用。(Ridge Regression RR ridge regression estimates, it is useful to nonlinear time series algorithms, in Local Polynomial prediction in very useful.)
    2008-07-24 15:50:34下载
    积分:1
  • harmonic
    利用坎门站的潮汐观测数据计算调和常数,并利用主要分潮和浅水分潮进行潮汐预报(Kanmen station observation data using tidal harmonic constants calculated, using mainly tidal and shallow water tidal surges were forecast...)
    2014-10-11 03:39:54下载
    积分:1
  • 基于Wegstein方法的求解方程SolveEquation_Wegstein
    基于Wegstein方法的求解方程的C++程序。(Wegstein-based method for solving equations C++ program.)
    2020-06-30 01:00:02下载
    积分:1
  • ThreetankWater
    :针对三容水箱是较为典型的非线性、时延对象,具有很强的代表性这一特点, 通过机理建模方法建立了三容水箱的一般数学模型。分析了线性和非线性阻力板的流量特性, 并通过实验测定了阻力板流量系数。最后给出了三容水箱的线性化模型。由仿真实验可知,非线性模型的阶跃响应和实验测得的响应曲线相吻合,(: For three-tank water tank is a more typical non-linear, time-delay object, has a strong representation of this characteristic, through the mechanism of modeling methods allow the establishment of three general mathematical model of water tanks. Analysis of linear and nonlinear flow resistance characteristics of plate, and through experimental determination of the resistance plate flow coefficient. Finally, the three-linear model of water tanks. By simulation experiments, we can see that the nonlinear model of step response and the experimentally measured response curve coincide)
    2008-07-15 11:28:13下载
    积分:1
  • conjugate
    共轭梯度法,本算法是经过验证了的共轭梯度法,读者在运用到其他方面时需要修改一定的参数(Conjugate gradient method, this algorithm is verified of the conjugate gradient method, readers in the use of other aspects need to modify certain parameters)
    2008-04-10 11:14:46下载
    积分:1
  • 计算方法中的复数运算(calculation method in the plural Operational)
    2005-01-26 15:25:21下载
    积分:1
  • averageData
    读取csv文件的数据,按要求拉算出平均数(Read csv file data, calculate the average number required to pull)
    2020-08-14 14:58:35下载
    积分:1
  • atjjs
    埃特金加速法,一个数值分析中的算法,大家先看看哦(Aitken acceleration method, a numerical analysis of the algorithm, we look at the flash open her cloak)
    2007-06-18 10:34:17下载
    积分:1
  • wavepacket-cpp-0.1.1b
    c++编写的小波包算法,可以实现小波包分解与重构,速度较快(A wavelet packet implementation written in C++, does wavepacket decomposition and reconstruction quite efficiently)
    2020-07-04 00:20:02下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载