Welcome![Sign In][Sign Up]
Location:
Downloads Other resource
Title: 复件 轮渡问题 Download
 Description: 1. I car ferry, crossing the river each ferry can carry 10 cars crossing the river, crossing the river into passenger vehicles and goods category, Ferry on the following provisions : first vehicle in a first embarkation, the first passenger ferry in the truck and four on each passenger will be permitted on a lorry. If waiting for the bus less than four, then replace the truck, without waiting for the lorry to allow passenger embarkation. Try to write a simulated crossing management. Algorithm design : a bus and the truck were established a chain cohort, the initial were empty. Later, a car is not a passenger vehicle is, it can be said of the entire process event-driven event is the two, said a passenger, said the lorry 0. Two ships have not yet arrived at the bus and the truck were ranked
 Downloaders recently: [More information of uploader xifengfeng2]
 To Search: b-tree
File list (Check if you may need any files):

CodeBus www.codebus.net