文件名称:tingchechang

  • 所属分类:
  • SQL Server数据库
  • 资源属性:
  • [WORD]
  • 上传时间:
  • 2012-11-29
  • 文件大小:
  • 118kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • g**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

设有一个可以停放n辆汽车的狭长停车场,它只有一个大门可以供车辆进出。车辆按到达停车场时间的早晚依次从停车场最里面向大门口处停放(最先到达的第一辆车放在停车场的最里面)。如果停车场已放满n辆车,则后来的车辆只能在停车场大门外的便道上等待,一旦停车场内有车开走,则排以便道上的第一辆车就进入停车场。停车场内如有某辆车要开走,在它之后进入停车场的车都必须先退出停车场为它让路,待其开出停车场后,这些辆再依原来的次序进场。每辆车在离开停车场时,都应根据它在停车场内停留的时间长短交费。如果停留在便道上的车未进停车场时,允许其离去,不收停车费,并且仍然保持在便道上等待的车辆的次序。编制一程序模拟该停车场的管理。-It has a strip of park n cars parking, it is only one door can be used for vehicles entering and leaving. Vehicles reach the parking lot of time sooner or later turn to the entrance from the parking lot innermost park (the innermost of the first to reach the first car on the parking lot). If the parking lot is filled with n car Later, the vehicle can only wait in the car park outside the main entrance of the sidewalk, once a car in the car park to drive away, and ranked in order to trail the first car to enter the car park. The car park if a car drove off, the car after it enters the car park must exit the parking lot to make way for it, let it out of the parking lot after these vehicles approach according to the original order. Each vehicle leaving the parking lot, pay should be based on the length of it to stay in the parking lot of time. If the car stays in the sidewalk into the parking lot, allowing it to leave, do not charge parking fees, and still maintain the order of vehicles w
(系统自动生成,下载前可以参看下载内容)

下载文件列表





停车场管理程序\停车场管理程序.doc

..............\停车场管理程序.txt

停车场管理程序

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org