搜索资源列表
tingchechangwenti
- 停车场问题.c是数据结构的经典问题 这是王权能适用的码源-Parking lot issues. C is the classic problem of data structure which is the Crown could apply to the code source
Car
- 停车场管理。设有一个可以停放n辆汽车的狭长停车场(先进后出),它只有一个大门可以供车辆进出。车辆按到达停车场时间的先后依次从停车场最里面向大门口处停放-Car park management. With a strip of n cars parking Parking (advanced out), it is only one door can be used for vehicle access. Vehicle to reach the parking time has in turn
tingchechang
- 以栈模拟停车场,以队列模拟车场外的便道,按照从终端读入的输入数据序列进行模拟管理。每一组输入数据包括三个数据项:汽车“到达”或“离去”信息、汽车牌照号码以及到达或离去的时刻。对每一组输入数据进行操作后的输出信息为:若是车辆到达,则输出汽车在停车场内或便道上的停车位置;若是车辆离去,则输出汽车在停车场内停留的时间和应交纳的费用(在便道上停留的时间不收费)。栈以顺序结构实现,队列以链表结构实现。-Stack mimics the parking to the queue simulation car
