- Category:
- Algorithm
- Tags:
-
[C/C++]
[源码]
- File Size:
- 1.15kb
- Update:
- 2008-10-13
- Downloads:
- 0 Times
- Uploaded by:
- cg
Description: In a direction in accordance with the East-West and North-South divided into regular city blocks, n and the distribution of settlements scattered in different neighborhoods in. Things used to express the coordinates x, y coordinates used to express the North and the South. The location of the settlements by the coordinates (x, y) express. Arbitrary blocks 2:00 (x1, y1) and (x2, y2) can use the distance between the values | x1. X2 |+ | Y1. Y2 | metrics. Residents want the city to select the best location to establish post offices, so that n settlements to the post office the sum of the smallest distance.
To Search:
- [pipe] - An oil company plans to construct a east
- [soldier] - In a grid divided into the playground, n
- [4] - In a direction in accordance with the Ea
File list (Check if you may need any files):