-
问题描述:假设一个商店,有一个架子和一个仓库,当第…
问题描述: 假设一个商店,它有一个货架和一个仓库,当货架上的商品数量少于一定的数目时,从仓库运一定数量的商品摆到货架上,当仓库里的商品的数量少于一定的数目时,购买商品把仓库填满,商品的出售要按照商品的生产日期来,快要过期的商品要先出售。 解决问题的方法: 用了两个栈和 一个队列,把队列当作仓库,用一个栈作为货架,把另一个栈当作临时的存储箱。当要往货架上添商品时,先把作为货架的栈中的元素全都压到作为存储箱的栈中,再把仓库中的元素压到存储箱中,然后再把存储箱中的所有元素都压到货架上,这样,就能保证快要过期的商品先被出售。-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
-
处理机调度的算法,操作系统的课程设计,主要是应用轮转法进行进程的调度...
处理机调度的算法,操作系统的课程设计,主要是应用轮转法进行进程的调度-processor scheduling algorithms, operating system design of Web applications is the main method of the scheduling process
- 2022-04-11 07:58:19下载
- 积分:1
-
一个采用VC+ACCESS开发的酒店管理,以及论文
一个采用VC+ACCESS开发的酒店管理,以及论文-using a development of the VC ACCESS hotel management, and the papers
- 2022-01-25 23:18:00下载
- 积分:1
-
Data structure on the tree, stack, queue data structure, such as some of the C l...
数据结构中关于树、栈、队列等数据结构的一些算法的C语言实现,给需要的人-Data structure on the tree, stack, queue data structure, such as some of the C language algorithm realize, to those who need
- 2023-09-01 12:00:04下载
- 积分:1
-
一个我的数据结构解题集合,里面有我的数据结构的作业。
一个我的数据结构解题集合,里面有我的数据结构的作业。-a data structure Solution Set, containing the information structure of the operations.
- 2022-05-22 17:29:40下载
- 积分:1
-
该程序是分布计数排序,它是我所见过的各种排序方法中最快的,它的时间复杂度为O(n),但是这种排序适用于已知待排序列的上下限,并且如果上限与下限的差值比较大的话,...
该程序是分布计数排序,它是我所见过的各种排序方法中最快的,它的时间复杂度为O(n),但是这种排序适用于已知待排序列的上下限,并且如果上限与下限的差值比较大的话,空间消耗也比较大.-distribution of the program is counting sequencing, it is I have seen the fastest sorting methods, it"s time complexity of O (n), but this sort known to be applicable to sort out the range, and if the upper and lower limits of the relatively large margin, space consumption is relatively large.
- 2022-06-14 17:10:55下载
- 积分:1
-
基于算法的标题设置教案ACM算法。文件算法设计
ACM算法题集
基础算法教案.doc
算 法 设 计 题 集.doc
算法题集.doc-ACM algorithm based on algorithms title set lesson plans. Doc algorithm design problem sets. Doc title set algorithm. Doc
- 2023-06-06 15:10:03下载
- 积分:1
-
C#读写数据库
数据库读写的代码,能够访问ACCESS数据库,自动创建,并具有筛选功能,需要用户名匹配才能修改,撤销修改等功能!
- 2022-05-24 18:45:35下载
- 积分:1
-
If you have ever wanted to store data temporarily in your Delphi Win32/.Net, C++...
If you have ever wanted to store data temporarily in your Delphi Win32/.Net, C++ Builder or Kylix application, and you at the same time wanted full access to the data as if they were stored in a database table, you have the right solution here. kbmMemTable is a full TDataset compatible in memory table loaded with functionality.
- 2022-05-21 20:22:47下载
- 积分:1
-
图论常用算法的C语言程序,对于图论的一些应用有很大的指导作用!...
图论常用算法的C语言程序,对于图论的一些应用有很大的指导作用!-Graph theory algorithm commonly used C-language program, for some applications of graph theory has a great guide!
- 2022-08-21 07:03:36下载
- 积分:1