文件名称:chechang
介绍说明--下载内容均来自于网络,请自行研究使用
以栈摸拟停车场,以队列摸拟场外的车道,按照从终端读入的输入数据序列进行摸拟管理。每一组输入数据包括三个数据项:汽车到达或离去的信息、汽车牌照号码以及到达或离去的时刻。对每一组输入数据进行操作后的输出信息为:若车辆到达,则输出汽车在停车场的内或便道上的位置,若车辆离去,则输出汽车在停车场内停留的时间和应交纳的引用。-Simulation in order to stack the car park to queue simulation outside lane, in accordance with the read from the terminal input data sequence management simulation. Each group of input data consists of three data items: the vehicles arrive at or leave the information, vehicle license number and arrival or departure time. For each group of input data to operate the output after the message is: if the arrival of the vehicles, then the output of motor vehicles in the parking lot or sidewalk on the location, if the vehicle left, the output of motor vehicles in the parking lot to stay within time and should be paid references.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
chechang.cpp