Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Algorithm
  • Category : Algorithm
  • Tags :
  • Update : 2012-11-26
  • Size : 1kb
  • Downloaded :0次
  • Author :jiaboo
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
In a city divided by east and west, the n settlements sprawl across different neighborhoods. So we're going to use the x-coordinate to represent the east-west direction, and we're going to use the y-coordinate to represent the north and the north. The locations of the settlements can be represented by coordinates (x, y). The distance between any two points in the block (x1,y1) and (x2,y2) can be measured by the numerical |x1-x2|+|y1-y2 |. Residents want to choose the best place to set up a post office in the city, making n settlements the smallest distance from the post office. Programming tasks: Given the location of n settlements, the minimum value of the sum of the distance of n settlements to the post office is programmed.
Packet file list
(Preview for download)
pro222.cpp
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.