文件名称:stackANDqueue
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.97kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1. 用栈模拟停车场,队列模拟便道。停车场满的时候在便道排队,一旦有车开走,排在第一位的就进入停车场。
2. 当有车要开走的时候在它后面进入停车场的车先依次开出,待该车缴费离开后再依次回到停车场。
3. 离开停车场时应按时间缴纳费用,排队车辆进入停车场时也应该缴纳相应的排队费用。
4. 车辆到达时输出停车位置,离开时输出停留时间和应缴纳费用。
-1. With a stack simulation parking lot, queue simulation of pavement. Parking in the sidewalk when the full line up, once the car drove away, ranked first in the to enter the parking lot. 2. When a car to go to open it back into the car when the car first turn out, then turn out to be pay back to the car parking. 3. To leave the car park fees should be paid time, queuing of vehicles entering the car park should also line up to pay the appropriate fee. 4. Vehicle parking spaces to reach the output, leaving the output residence time and costs to be paid.
2. 当有车要开走的时候在它后面进入停车场的车先依次开出,待该车缴费离开后再依次回到停车场。
3. 离开停车场时应按时间缴纳费用,排队车辆进入停车场时也应该缴纳相应的排队费用。
4. 车辆到达时输出停车位置,离开时输出停留时间和应缴纳费用。
-1. With a stack simulation parking lot, queue simulation of pavement. Parking in the sidewalk when the full line up, once the car drove away, ranked first in the to enter the parking lot. 2. When a car to go to open it back into the car when the car first turn out, then turn out to be pay back to the car parking. 3. To leave the car park fees should be paid time, queuing of vehicles entering the car park should also line up to pay the appropriate fee. 4. Vehicle parking spaces to reach the output, leaving the output residence time and costs to be paid.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C语言栈和队列应用.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.