登录
首页 » Java » Soct

Soct

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

  • The-UDF-for-phase-change-of-water
    Fluent 中短语模拟水的受热蒸发相变的UDF程序代码(the UDF for phase change of water)
    2014-01-06 19:38:21下载
    积分:1
  • youhua
    fortran最优化计算方法常用程序汇编 包括一维最优化部分、无约束优化部分、约束优化部分 0.618法,分数法、二次插值法、三次插值法 共轭梯度法、DFP变尺法(导数)、DFP变尺法(差分)、阻尼最小二乘法、鲍威尔法、模式搜索法、单纯形法 混合罚函数法(SUMT调用DFP)、混合罚函数法(SUMT调用鲍威尔法)、综合约束函数双下降法、可变容差法、复合形法、网格法、随机试验法、解线性规划的单纯形法(fortran optimization calculation method used to assemble Including one-dimensional optimization section, part of unconstrained optimization, constrained optimization part 0.618, fractional method, quadratic interpolation, cubic interpolation Conjugate gradient method, DFP becomes ruler Act (derivative), DFP variable scale method (differential), damped least squares method, Powell method, pattern search method, the simplex method Mixed penalty function method (SUMT call DFP), mixed penalty function method (SUMT call Powell Law), integrated dual descent constraint functions, variable tolerance method, the complex method, grid method, random test, solving linear programming simplex Method)
    2014-05-21 10:33:13下载
    积分:1
  • 4-split2
    给定求解区间,用最小二乘法给出函数的零点,并给出迭代次数(Given the solution interval, the zeros of the function are given by the least square method, and the number of iterations is given.)
    2019-04-10 16:33:03下载
    积分:1
  • Kalmantool
    kaerman 滤波MATLAB工具 以及程序(kaerman MATLAB TOOL)
    2009-02-24 16:07:31下载
    积分:1
  • shenliu
    有限元计算基本程序,为毕业论文时编写的局部渗流计算程序。(Finite element method the basic procedures for the thesis prepared by local seepage calculation procedures.)
    2007-08-20 14:00:54下载
    积分:1
  • SVMcgForRegress
    支持向量机中的支持向量回归函数对数据进行预测(Support Vector Regression Function in Support Vector Machine to Predict Data)
    2019-05-12 16:42:10下载
    积分:1
  • WaterPress
    对于水轮机阀门开启、关闭的一瞬间,对于钢管有比较大的水击。该程序计算出了相对最大的水击压力。(For turbine valves opened, the closure of the moment, for a relatively large pipe water hammer. The program calculated the maximum relative pressure of water hammer.)
    2008-03-15 16:37:05下载
    积分:1
  • numerical
    求解二阶变系数常微分方程,主要用于涡激振动中频率响应的计算(Solving second-order ordinary differential equations with variable coefficients)
    2014-01-06 19:23:10下载
    积分:1
  • 基于matlab AR模型的最小二乘法实现
    基于matlab AR模型的最小二乘法实现参数辨识,加上Word配合理解,相信你理解的会更快的。(Matlab AR model based on the least squares method to achieve parameter identification, coupled with Word understanding, I believe you will understand faster.)
    2017-06-13 20:30:06下载
    积分:1
  • 公约
    用C语言实现计算两个数字的最大公约数,代码简单简洁,适合初学者学习。(C language is used to calculate the maximum common divisor of two digits. The code is simple and concise. It is suitable for beginners to learn.)
    2020-06-21 16:20:01下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载