登录
首页 » 数据结构 » 栈、队列 模拟停车场管理【数据结构】

栈、队列 模拟停车场管理【数据结构】

于 2022-01-25 发布 文件大小:168.43 kB
0 117
下载积分: 2 下载次数: 1

代码说明:

以栈模拟停车场,以队列模拟停车场外的便道,按照从终端读入的输入数据序列进行模拟管理。每一组数据包括三个数据项:汽车到达或离去的信息、汽车牌照号码以及到达或离去的时刻。对每一组输入数据进行操作后的输出信息为:若是汽车到达,则输出汽车在停车场内或便道上停车位置;若是汽车离去,则输出汽车在停车场内停留的时间和应缴纳的费用(在便道上停留不收费)。栈以顺序结构实现,队列以链表结构实现。

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

发表评论


0 个回复

  • 希望对大家的学习能有所帮助
    希望对大家的学习能有所帮助-member of the study can be helpful
    2022-02-06 14:22:17下载
    积分:1
  • PB下的ATM机开发案例。谢谢参考!
    PB下的ATM机开发案例。谢谢参考!-PB下的ATM机开发案例。谢谢参考!啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
    2022-08-25 13:55:38下载
    积分:1
  • 把dat文件转化为grd文件 供surfer使用
    把dat文件转化为grd文件 供surfer使用-Dat file into the GRD surfer documents for use
    2023-08-22 02:25:03下载
    积分:1
  • 快递服务编排系统
    快递服务编排系统是捡项目从客户的跟踪和记录。
    2023-07-22 19:45:03下载
    积分:1
  • Access库经典模板,Access
    Access数据库经典模板,Access-DateBase-Template.rar-Classic template Access database, Access-DateBase-Template.rar
    2022-03-16 08:24:22下载
    积分:1
  • KMP算法
    解决了BruteForce算法效率低下的问题,并且在该基础上完成了子串重复时的性能优化
    2023-05-15 20:00:02下载
    积分:1
  • this is a code of data structure
    这是数据结构第五章的全部算法实现代码,对于学习数据结构的同学很有帮助-this is a code of data structure
    2022-06-21 19:10:46下载
    积分:1
  • 题目:设计一个题目,演示用算符优先法对算术表达式求值的过程。 概要设计 1、顺序扫描中缀算术表达式,当读到字时直接将其送至输出队列中; 2、当读到...
    题目:设计一个题目,演示用算符优先法对算术表达式求值的过程。 概要设计 1、顺序扫描中缀算术表达式,当读到数字时直接将其送至输出队列中; 2、当读到运算符时,将栈中所有优先级高于或等于该运算符弹出,送至输出队列中,再将当前运算符入栈; 3、当读入左括号时,即入栈; 4、当读到右括号时,将靠近栈顶的第一个左括号上面的运算符全部一次弹出,送至输出队列中,再删除栈中的左括号。 5、使用VS栈来存储读入的操作和运算结果,然后进行数字字符到数值的转换。 -Title: Design of a topic, presentation operator priority method with arithmetic expression evaluation process. Summary of design 1, the order of scanning arithmetic infix expressions, when they read numbers directly to the output queue 2, when they read operator, it will stack all priority higher than or equal to the operator pop-up , sent to the output queue, and then the current operator入栈 3, when read left brackets, that is, when入栈 4, when they read the right brackets, it will be near the Top-left of the first operator in brackets above All a pop-up, sent to the output queue, and then delete stacks of left brackets. 5, the use of VS stack to store read operation and computing the results of numeric characters and then proceed to the numerical co
    2022-03-18 20:45:34下载
    积分:1
  • 使用库的VC编程实现,一个简单的DEMO
    使用数据库的VC编程实现,一个简单的DEMO-use of the VC database programming, a simple DEMO
    2023-09-01 01:05:03下载
    积分:1
  • 访问库,实现教务管理的功能
    access数据库,实现教务管理的功能-access databases, realize the functions of educational administration
    2023-07-18 07:35:03下载
    积分:1
  • 696518资源总数
  • 105273会员总数
  • 10今日下载