Description: A city with a terminal, each time only to allow a loading and unloading cargo vessels, as vessels waiting to enter port often, some people proposed expansion of the dock. After investigation found that historical data, the terminal stop for 24 per month on average, each ship s turnaround time of 24 ± 20 hours, adjacent to two ship s arrival time interval of 30 ± 15 hours, if a ship due to ship in Hong Kong The wait for 1 hour, its consumption costs of 1,000 yuan. The budget, expansion of the dock takes about 13.5 million yuan, so the mayor the decision-making are as follows: If the next five years, anchored ships were waiting for more than the sum of the cost of consumption spending for expansion of the dock expansion of the dock, otherwise, not expansion. Therefore, I hope you can help the mayor make decisions. This problem is known to the approximate arrival time and approximate turnaround time for this issue to do with the probability of more complicated statistical methods can be u
File list (Check if you may need any files):
Terminal expansions.cpp