Introduction - If you have any usage issues, please Google them yourself
There are n number of villages spread along a road, and for the convenience of the villagers for medical treatment, is now going to build a hospital along the road repair.
As a result of the number of villages, the age distribution of different reasons, the level of demand for hospital each village is different. The level of demand here in a non-negative weights w represents: w, the greater medical needs. For a site plan, Σwi* di as a measure of its reasonableness indicators, wi and di denote the i-th value the right and the hospital in the village, the smaller the index, the more excellent the corresponding location. Please give optimal locations hospital construction.