登录
首页 » Java » Soct

Soct

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

  • sor
    两种SQR迭代法:将x^K与上次计算的结果做加权平均作为最后结果(Two kinds SQR iterative method:the x ^ K and the results of the last calculated as a weighted average of the final results do)
    2013-12-06 01:14:24下载
    积分:1
  • fft2d
    fft的文件,fortran环境下运行!欢迎指正!(fft documents, fortran environment running! Please correct me!)
    2021-05-08 18:18:35下载
    积分:1
  • fortran
    圆柱绕流的数值模拟(基于有限体积法),Fortran程序(Numerical simulation of flow around a cylinder (based on the finite volume method), Fortran program)
    2009-11-21 18:21:30下载
    积分:1
  • Fortran_3D_FDTD
    说明:  三维FDTD程序,一个Fortran写的三维FDTD程序(Three-dimensional FDTD procedure, a Fortran program written by three-dimensional FDTD)
    2021-04-09 11:19:00下载
    积分:1
  • half-car
    ANSYS中关于车桥耦合的接触法命令流,车辆模型为二分之一车(About the vehicle.the contact method in ANSYS command stream, with half vehicle model car)
    2021-04-21 10:48:49下载
    积分:1
  • sdfsgsdgseg
    关于房屋贷款贷款的计算,包含本息、本金、一次性付款等贷款方式(Calculated on mortgage loans, including principal and interest, principal, and other one-time payment of loans)
    2013-08-17 15:07:36下载
    积分:1
  • DOE
    说明:  一种数值方法,用于生成样本点。样本点之间具有相关性小,分布均匀的特点。(A numerical method for generating sample points. The sample points have the characteristics of small correlation and uniform distribution.)
    2019-03-06 09:26:17下载
    积分:1
  • isotermasIII
    Compute isotherms in quad
    2012-05-05 01:36:55下载
    积分:1
  • pca_ica
    说明:  独立分析 主成分分析 可以提取矩阵独立成分与主成分,显示空间特征与时间特征以及对应的奇异分析用于计算能进行奇异值分解等。主要用于数值的提取计算等。(It can extract the independent and principal components of matrix, display the spatial and temporal characteristics, and use the corresponding singular analysis to calculate the singular value decomposition. It is mainly used for extraction and calculation of numerical value.)
    2020-04-15 22:00:02下载
    积分:1
  • msh_read
    读取msh文件的C语言接口,支持gambit,ICEM等网格工具绘制的网格(The interface of the MSH file with C language, support the grid drawn by gambit, ICEM and other grid tools.)
    2020-07-11 22:48:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载