登录
首页 » Java » Knapsack

Knapsack

于 2015-12-13 发布 文件大小:8KB
0 230
下载积分: 1 下载次数: 1

代码说明:

  01背包问题的java实现,使用了树结构,比较器(Java 01 knapsack problem of implementation, using a tree structure, the comparator)

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

发表评论

0 个回复

  • C#中,应用程序与库access的链接解释
    C#中,应用程序与数据库access的链接解释-C#, applications and database access links to explain the
    2022-07-09 06:23:46下载
    积分:1
  • 算符有限分析法 //程序功能: //根算符优先分析法,将表达式进行语法分析,判断一个表达式是否正确。 //文法:E→E+E E...
    算符有限分析法 //程序功能: //根据算符优先分析法,将表达式进行语法分析,判断一个表达式是否正确。 //文法:E→E+E E-E E*E E/E (E) i // 其中i为无符号整数-operator limited analysis// procedural functions :// operator under priority analysis, to conduct regular expression syntax analysis, judgment, an expression is correct.// Grammar : E E E E-E E E* E/E (E) i// for which i unsigned integers
    2022-04-07 04:27:23下载
    积分:1
  • B-树的创建、插入、删除等一系列操作!-B-tree creation, insert, delete a series of manipulations!
    2022-07-19 17:19:24下载
    积分:1
  • bintree
    一个关于二叉树应用的小程序,包括二叉树的建立,前中后遍历等操作(a program about bintree structure)
    2009-05-17 16:54:29下载
    积分:1
  • 顺序查找 实现顺序查找的设计与实现 且加上了注释 更容易理解和上手...
    顺序查找 实现顺序查找的设计与实现 且加上了注释 更容易理解和上手-Find the order of search in order to achieve the design and implementation and the addition of annotations easier to understand and get started
    2022-09-27 11:10:03下载
    积分:1
  • Campus e cartoon in database design and system page design, server
    校园e卡通中数据库的设计和系统页面设计,实现服务器端数据库对交易的监视和记录的功能 -Campus e cartoon in database design and system page design, server-side database to realize the transaction monitor and record the functions of
    2022-07-23 05:08:46下载
    积分:1
  • 宾馆管理系统的库的报告,比较详细的内容,还是比较好的
    宾馆管理系统的数据库的报告,比较详细的内容,还是比较好的-Hotel management system, database, report, compare it in detail, it is quite good
    2022-03-14 04:03:34下载
    积分:1
  • UML建模 学生通讯信息管理系统
    信息管理系统能够为用户提供充足的信息和快捷的查询手段,是当今信息交流不可缺少的部分。学生通讯信息管理系统是为了便于毕业后的同学之间的联系,方便好久没联系的同学能快速准确的找到所查同学的联系方式和地址,是一款为同学们的交流带来方便的工具。本系统的参与者主要包括两方面:用户、管理员、系统数据库
    2022-07-10 23:14:49下载
    积分:1
  • 校园导游系统
    本代码通过C++实现校园导游系统,在程序中设置了十多个地点,可查询各地点的具体信息,展示两地点之间的最短路径,展示任意一个地点到其他各地点的最短路径等。同时,也可以增添或删减节点及边,也就是可任意增加新的地点信息。
    2022-03-19 03:17:57下载
    积分:1
  • [问题描述] 将N个关键字去整的记录进行整序, 以使所有关键字为非负的记录排在关键字为负的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N...
    [问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构] 待排序记录顺序存储。 [算法的基本思想] 快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。 #include using namespace std #define MAXNUM 100//设文件的最长可能长度 void sort(int* keys, const int len)//排序 -[Problem Description] N keyword to the integer sequence the entire record. keyword so that all non-negative Records with the keyword for the negative record, at least require the use of the additional space and time complexity of the algorithm is O (N) [imported] to be sort record number, The value of the keyword. [Output] keyword separate from the pluses and minuses are several former [storage structure] scheduling records to be stored sequence. [Algorithm for the basic idea] quick sort algorithm each time a record for any keyword as a standard, The remaining records will be divided into two groups, N-keyword
    2022-03-17 21:15:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载