-
问题描述:假设一个商店,有一个架子和一个仓库,当第…
问题描述: 假设一个商店,它有一个货架和一个仓库,当货架上的商品数量少于一定的数目时,从仓库运一定数量的商品摆到货架上,当仓库里的商品的数量少于一定的数目时,购买商品把仓库填满,商品的出售要按照商品的生产日期来,快要过期的商品要先出售。 解决问题的方法: 用了两个栈和 一个队列,把队列当作仓库,用一个栈作为货架,把另一个栈当作临时的存储箱。当要往货架上添商品时,先把作为货架的栈中的元素全都压到作为存储箱的栈中,再把仓库中的元素压到存储箱中,然后再把存储箱中的所有元素都压到货架上,这样,就能保证快要过期的商品先被出售。-Problem description : Suppose a shop, which has a shelf and a warehouse, when the merchandise on the shelves less than a certain quantity of the number, a certain number from the warehouses of goods on the shelves, when the warehouse volume of goods is less than certain number, purchase goods warehouse filled, the goods according to the sale of commodity production to date, is about to expire first sale of goods. The solution : a two stack and a queue, queue as a warehouse, used as a stack shelves, and another stack as a temporary storage bins. When to go to the shelves Tim commodity, first as a stack shelves of all elements of the pressure storage tank as the stack, then the warehouse down to the storage element box, and then s
- 2022-07-13 01:56:00下载
- 积分:1
-
数据结构实验,表达式求值的源码以及实验报告。
数据结构实验,表达式求值的源码以及实验报告。-Experimental data structure, the source expression is evaluated and experimental report.
- 2022-08-06 20:10:16下载
- 积分:1
-
查询系统的性能,实现系统的注册表、选择、功能。
成绩查询系统,实现系统的登录、选课、成绩查询等功能。-Inquiry System performance to achieve the system registry, selection, features such as query results.
- 2022-01-24 15:09:54下载
- 积分:1
-
This is some of the information data structure, which content is relatively simp...
这份是数据结构的一些资料,里面内容相对比较简单,但却非常值得一看~-This is some of the information data structure, which content is relatively simple, but very much worth a visit ~
- 2022-08-16 02:24:14下载
- 积分:1
-
Including the quick sort, heap sort, merge sort, such as classical algorithms, h...
包括快速排序、堆排序、合并排序等经典算法,有详细的说明,供初学者学习
- 2022-03-05 06:50:29下载
- 积分:1
-
ADO操作数据库强大封装类
MySql,Access ADO操作数据库强大封装类 功能满足大家的需求 C++源码,有需要的下载吧
- 2023-01-23 09:15:04下载
- 积分:1
-
C语言编写的栈操作模板。包含栈的9种基本操作,从栈的创建、栈的判断到入栈、出栈操作,以及栈的删除等操作。...
C语言编写的栈操作模板。包含栈的9种基本操作,从栈的创建、栈的判断到入栈、出栈操作,以及栈的删除等操作。-C language template stack operation. Stack contains 9 kinds of basic operation, from the stack to create, to determine the stack入栈, a stack operation, and stack operations such as delete.
- 2022-02-04 04:46:55下载
- 积分:1
-
本书是Ford和Topp两位教授于199b年出版的名著Data Structures with C一的第2版,在全球范围内已经有数以万计・的学生从中受益。...
本书是Ford和Topp两位教授于199b年出版的名著Data Structures with C一的第2版,在全球范围内已经有数以万计・的学生从中受益。
作音将C十+语言作为算法描述语言,应用包含规范化的数据结构的标准模板库,集讲述了数组、向量、表、关联树容器,以及集合、映射、堆、哈希表和图等数据结构及其算法,重点讨论了如何高效地存储大型数据集合,涵盖了数据结构初级和高级教程的最新内容。书中各章章前提出学习目标,章后附有丰富的练习题、答案以及书面练习和上机编程练习,指导读者迅速、全面地掌握核心知识点和编程技巧,本书可作为计算机及相关专业数据结构课程的核心教材,对于研发人员,也是一本数据结构与而向对象技术完整结合的全新技术参考用书-err
- 2022-05-15 00:26:23下载
- 积分:1
-
数据结构,c源代码。
数据结构,c源代码。 -Data structures, c source code.
- 2022-12-31 13:30:15下载
- 积分:1
-
expulsion source management system
学籍管理系统源码-expulsion source management system
- 2022-08-11 03:59:41下载
- 积分:1