登录
首页 » Java » Soct

Soct

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

  • FDTD-
    把 Maxwell 方程式在时间和空间领域上进行差分化。利用蛙跳式(Leap frog algorithm)--空间领域内的电场和磁场进行交替计算,通过时间领域上更新来模仿电磁场的变化,达到数值计算的目的。(The Maxwell equations in time and space on the field differencing. Using the leapfrog (Leap frog algorithm)- Space field for alternating electric and magnetic fields calculated by the time domain electromagnetic field is updated to mimic the changes to achieve the purpose of numerical calculation.)
    2013-11-04 09:40:37下载
    积分:1
  • 牛顿迭代法求解非线性方程组
    说明:  使用牛顿迭代法求解非线性方程组,程序简单易懂,初学者都能看明白。(Newton iterative method is used to solve the nonlinear equations. The program is simple and easy to understand for beginners.)
    2020-06-02 23:22:49下载
    积分:1
  • BEMECHNEW
    高等边界元法理论里面在求解弹性力学二维三维程序,(Advanced boundary element program)
    2018-08-21 23:17:04下载
    积分:1
  • beam
    《ABAQUS在岩土工程中的应用》-费康中二次开发的梁单元应用(" ABAQUS in geotechnical engineering" - charges the secondary development of health in the application of beam elements)
    2011-05-22 22:04:52下载
    积分:1
  • TESTGLP0
    计算天体力学中常用的HANSEN函数,对偏心率小于0.1时适用(This code for hansen function )
    2012-04-06 16:23:13下载
    积分:1
  • Mesh2dv23
    MATLAB编写的非结构化网格生成程序,不算很长(MATLAB program written in unstructured mesh generation, not very long)
    2011-10-09 22:22:08下载
    积分:1
  • Lagrange
    使用拉格朗日乘子法解约束优化问题,例子是最优化问题,有3个线性约束(Using the Lagrange multiplier method to solve the constrained optimization problem)
    2018-04-06 15:42:47下载
    积分:1
  • NEWTONDIEDAI
    用C++来实现NEWTON迭代法解非线性方程算法数值分析,是数值分析里典型的一个算法。(In C++ to achieve NEWTON iterative numerical algorithm for solving nonlinear equations, numerical analysis is in a typical algorithm.)
    2011-10-09 21:58:54下载
    积分:1
  • SONGCIFA
    松弛法解方程C程序(relaxation method of solving equations C program.)
    2006-11-24 11:23:20下载
    积分:1
  • Untitled
    由Music算法估计线阵波达方向,搜索频谱波峰。(Estimation of linear array DOA by Music algorithm, searching spectral peak.)
    2013-10-25 14:37:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载