登录
首页 » 算法 » C语言实现的0/1背包问题

C语言实现的0/1背包问题

于 2022-06-15 发布 文件大小:231.22 kB
0 182
下载积分: 2 下载次数: 1

代码说明:

主要用来解决0/1背包问题,实现的计算机语言是C语言,通过随机的产生物品的信息,通过此算法决定哪些物品放入背包中,哪些放弃。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 关于drbarr用C编的代码
    关于drbarr用C编的代码-on drbarr Part C code
    2022-02-07 09:33:44下载
    积分:1
  • importation of X, Y coordinates, fitting Park, using the least square fitting, I...
    输入X,Y坐标,拟合公园,采用最小二乘法拟合,本人测试
    2022-03-28 16:44:06下载
    积分:1
  • MMSE 信道估计分析均衡 ofdm 信道容量分析
    这是真正好的代码的 MMSE 信道估计你可以享受的 ofdm 信道容量分析,这是比别人更好的信道估计技术
    2023-08-15 04:00:03下载
    积分:1
  • Statistical and Adaptive Signal Processing Toolbox
    Source codes from "Statistical and Adaptive Signal Processing" which contain lots of useful methods for signal processing.
    2023-06-21 22:45:04下载
    积分:1
  • 你好世界
    应用背景adasdddddddddddddddddddddddddddddddddddddddddddadasdddddddddddddddddddddddddddddddddddddddddddспомощьюVинаспомощьюVинав。в。спомощьюVинаadasdddddddddddddddddddddddddddddddddddddddddddadasdddddddddddddddddddddddddddddddddddddddddddadasdddddddddddddddddddddddddddddddddddddddddddadasdddddddddddddddddddddddddddddddddddddddddddadasdddddddddddddddddddddddddddddddddddddddddddadasdddddddddddddddddddddddddddddddddddddddddddadasdddddddddddddddddddddddddddddddddddddddddddadasdddddddddddddddddddddddddddddddddddddddddddadasdddddddddddddddddddddddddddddddddddddddddddadasdddddddddddddddddddddddddddddddddddddddddddadasdddddddddddddddddddddddddddddddddddddddddddadasddddddddddddddddddddddddddddddddddddddddddd关键技术234567891011121314151617181920РазмерА(- 2,- 4) ; ;делаюя= - 3,2читать*,(В(Я,какДж),ДжвС= - 4,0) ;конецсделатьзвонокмассивные(В,Н)печать*,встопконецподпрограммымассивные(В,Н)измерениеВ(Н) ; ;нея= 2,н2СделатьДж=Я,НВвKиВ=Н-ДЖ+Яесли(в(
    2022-01-22 11:45:09下载
    积分:1
  • 贪吃蛇源程序
    相关头文件包含#include "graphics.h",#include #include #include 等,实现起来很方便
    2022-11-09 00:55:03下载
    积分:1
  • ! 2 ! HOMPACK90 is a suite of FORTRAN 90 subroutines for solving nonline...
    ! 2 ! HOMPACK90 is a suite of FORTRAN 90 subroutines for solving nonlinear 3 ! systems of equations by homotopy methods. There are subroutines for 4 ! fixed point, zero finding, and general homotopy curve tracking problems, 5 ! utilizing both dense and sparse Jacobian matrices, and implementing 6 ! three different algorithms: ODE-based, normal flow, and augmented 7 ! Jacobian. The (driver) subroutines called by the user are given in the 8 ! table below, and are well documented internally. The user need not 9 ! be concerned with any other subroutines in HOMPACK90. -! 2 ! HOMPACK90 is a suite of FORTRAN 90 subroutines for solving nonlinear 3 ! systems of equations by homotopy methods. There are subroutines for 4 ! fixed point, zero finding, and general homotopy curve tracking problems, 5 ! utilizing both dense and sparse Jacobian matrices, and implementing 6 ! three different algorithms: ODE-based, normal flow, and augmented 7 ! Jac
    2022-07-21 06:18:17下载
    积分:1
  • All relevant data mining algorithms and theory, there are detailed instructions,...
    所有相关的数据挖掘算法和理论,都有详细的说明,有兴趣的可以下一步做
    2023-01-27 06:20:05下载
    积分:1
  • 双色球随机软件源码
    void CRandDlg::OnOK()  { // TODO: Add extra validation here int a[7]; int b=0; srand((unsigned)time( NULL ));  for (int i=0;i
    2022-03-24 20:24:18下载
    积分:1
  • 本程序为通信中,租赁系统的仿真程序,对于研究租赁系统的人十分有用...
    本程序为通信中,租赁系统的仿真程序,对于研究租赁系统的人十分有用
    2022-04-09 14:12:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载