登录
首页 » 数据结构 » 背包问题(非0/1)C++标准算法

背包问题(非0/1)C++标准算法

于 2022-01-23 发布 文件大小:2.73 kB
0 270
下载积分: 2 下载次数: 1

代码说明:

背包问题(非0/1)C++标准算法-knapsack problem (0/1) C Standard Algorithm

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

发表评论

0 个回复

  • QRCODE生成24位bmp位图
    介绍这是libqrencode库使用方法的简单例子,该库来自FUKUCHI Kentaro,用于由QRCode文字生成bmp文件。网上有该库的相关信息,但没有简单的例子展示如何使用它。在本项目中,展示了该库使用时出现的问题的解决方法。编译时直接引用源代码,不会有链接冲突问题。libqrencode支持QRCode模式2,JIS里描述的X0510:2004或ISO/IEC 18004。当前不支持ECI和FNC1模式 QRCode模式1.背景很多设备都可以读取QRCode二维码,大多数智能手机都包含了QRCode读取器,该格式支持不同的数据类型:网址、联系人等等...,在这个例子中,是URL编码,阅读时智能手机可以自动连接到Ultramundum基金会网站。使用得最多的QRCode生成器是libqrencode,但很少有在C/C++中使用的例子,只能参考文档中的注释和一些Doxygen的内容。我创建了一个简单的应用程序,用于将URL转换到QRCode并保存为Windows bmp文件。通过阅读代码,可以学习如何使用该库,甚至是其它语言,以及如何将其内部的位图格式转换成标准图形。使用代码代码真的很简单,主要的代码文件是QRGenerator.cpp,里面有个标准的C main()函数。这是一个Win32控制台程序。通过修改#define 可以修改生成的文件、颜色深度
    2022-01-25 18:23:21下载
    积分:1
  • VC how to operate the database of images field
    VC编程中如何操作数据库中的图像字段-VC how to operate the database of images field
    2023-06-20 07:00:03下载
    积分:1
  • 数据结构 c语言 教程
    数据结构 c语言 教程-language data structure c Guide
    2022-03-17 11:31:19下载
    积分:1
  • SQL开发指南
    SQL开发指南-SQL Development Guide
    2022-01-21 02:27:51下载
    积分:1
  • 实现一个B*Tree的添加和查找,输入数据为一组字典文件
    实现一个B*Tree的添加和查找,输入数据为一组字典文件-achieve a B* Tree Search and the addition, the input data for a group of documents dictionary
    2022-01-25 20:47:50下载
    积分:1
  • sequence by means (from top to bottom, each of which left from right) traverse b...
    按层序方式(自上而下,每层自左而右)遍历二叉树,二叉树以二叉链表作为存储-sequence by means (from top to bottom, each of which left from right) traverse binary tree, the binary tree with two forks Chain storage
    2022-06-13 13:20:09下载
    积分:1
  • 这是一个简单的数据库管理系统。它不使用任何其他的代码(即外径…
    This a simple database management system. It doesn t use any other code (i.e. ODBC, ADO, etc.) and has it s own database file format. I wrote it because I found the other DBMSs code too bulky and hard to debug. It s designed for small applications and I doubt it could handle anything on a large scale. A sample program included in the .zip shows how everything works. The database project is a library project, so you ll have to compile and link with the .lib file to get everything working. Pros: - You have the source code so you know exactly what it is doing - Database files are very small - Small and fast code Cons: - Can t handle large amounts of records (more than 65000ish) - Doesn t support SQL (you have to search the database by cycling through the records and testing them against your constraints) - Each database file can only have one table. -This a simple database management system. It doesn t use any other code (i.e. ODBC, ADO, etc.) and has it s own database file format. I wr
    2022-04-20 06:29:24下载
    积分:1
  • 模拟队列存储器
    储器是一种能够存储大量二进制信息的逻辑电路,通常用于数字系统大量数据的存储。存储器的工作原理是:存储器为每一个存储单元都编写一个地址,只有地址指定的那些存储单元才能够与公共的I/O相连,然后进行存储数据的读写操作。在计算机领域中,队列是不可忽视的概念。队列是一种数据项按顺序排列的数据结构,但它的特殊之处在于,一端只能进行数据的插入操作,另一端只能进行数据的删除。
    2022-03-09 10:59:51下载
    积分:1
  • sqlserver数据库日志清除工具
    一个sqlserver数据库日志清除工具,没有源代码,平时由于数据库运行会产生大量的日志,甚至有时会把硬盘占满,有几次我遇到数据库日志居然达到200G以上,造成客户端无法正确执行请求,此小工具可快速清除日志占用的控件,希望能够给需要的兄弟们带来方便。
    2022-05-10 18:31:38下载
    积分:1
  • convex hull algorithm, scattered dots on the three
    凸壳算法,散点成三维体的方法,该方法从洋鬼子那得来的。-convex hull algorithm, scattered dots on the three-dimensional method from the foreign devils that comes from.
    2022-03-16 02:06:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载