登录
首页 » Java » Soct

Soct

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

  • rejectionofnbibaseonwaveletpacket
    为了进一步提高直接序列/跳频(DS/FH)扩频系统的抗干扰能力,基于小波包变换结合递归最小二乘算法设计 了一种变换域自适应干扰抑制算法,该算法采用小波包分解定位窄带干扰,递归最小二乘算法抑制窄带干扰。通过蒙特卡 罗仿真分析在增加抗干扰模块后,DS/FH系统工作在准静态时,在不同信噪比条件下抗窄带干扰性能。仿真结果表明:该 算法具有较强的自适应性以及抗窄带干扰能力,其性能优于传统的直接置零法,适用于多音干扰下的恶劣通信环境。(In order to further improve the anti-jamming capability of direct sequence/frequency-hopping spread spectrum system (DS/FH), based on wavelet packet transform combined with recursive least squares algorithm design a transform domain adaptive interference suppression algorithm, the algorithm uses wavelet packet decomposition positioning narrowband interference, narrowband interference suppression recursive least squares algorithm. By Monte Carlo simulation analysis to increase the anti-jamming module DS/FH system work in the quasi-static, in different SNR anti narrowband interference performance. Simulation results show that: the algorithm has strong adaptability and resistance to narrowband interference ability, its performance is superior to the traditional method of direct zero, poor communication environment suitable for multi-tone interference.)
    2012-09-09 23:20:26下载
    积分:1
  • Boundary-Element-Methods
    弹性力学问题的边界元—姜弘道,用fortran语言编写的,实例详细(BEM elasticity problems- Jiang Hongdao with fortran language, detailed examples)
    2020-06-30 06:00:02下载
    积分:1
  • oneapf
    说明:  基于单位功率因数控制策略的单相有源滤波,去掉非线性负载部分即为单相全控整流。开关器件采用IGBT。(Based on the unity power factor control strategy of single-phase active power filter, remove the part of non-linear load is the single-phase full-controlled rectifier. Switching device IGBT.)
    2009-08-06 20:09:07下载
    积分:1
  • Gravity
    用fortran编写重力正演及最小二乘反演程序(fortran prepared gravity forward and inversion procedure)
    2013-11-04 16:57:43下载
    积分:1
  • a.c
    Finding special triples of the form (n, n + 1, n + 2) Write a program that finds all triples of consecutive positive three-digit integers each of which is the sum of two squares, that is, all triples of the form (n, n + 1, n + 2) such that: • n, n+1 and n+2 are integers at least equal to 100 and at most equal to 999 • eachofn,n+1andn+2isoftheforma2+b2.(Finding special triples of the form (n, n+ 1, n+ 2) Write a program that finds all triples of consecutive positive three-digit integers each of which is the sum of two squares, that is, all triples of the form (n, n+ 1, n+ 2) such that: • n, n+1 and n+2 are integers at least equal to 100 and at most equal to 999 • eachofn,n+1andn+2isoftheforma2+b2.)
    2012-04-26 15:05:05下载
    积分:1
  • lizilvbo
    实现了粒子滤波算法代码,供大家参考学习。(Particle filter algorithm to achieve the code for your reference study.)
    2010-01-08 16:16:51下载
    积分:1
  • Gravity-anomaly
    计算重力异常,只需要输入最大重力场模型的最大阶数以及重力场模型文件名在程序里设置经纬度范围和间隔即可得到重力异常(Gravity anomaly)
    2013-06-13 14:46:49下载
    积分:1
  • EXERCISE_3_2
    比较JPLDE405的切比雪夫系数导出的位置与低精度月球坐标分析。(Comparative Analysis of JPL DE405 cut Chebyshev coefficients derived position with low accuracy lunar coordinates.)
    2020-11-11 13:29:46下载
    积分:1
  • cholesky
    用matlab编写的cholesky分解程序,希望对大家有些帮助(Matlab prepared using Cholesky decomposition procedures, in the hope that some U.S. help)
    2008-07-01 17:19:05下载
    积分:1
  • 毕设程序
    滚动轴承信号的保罗谱分析,hilbert Teager能量算子,信号平方,信号取绝对值等等方法求信号包络谱(hilbert transmission)
    2018-10-26 18:33:28下载
    积分:1
  • 696518资源总数
  • 105547会员总数
  • 4今日下载