Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

对于这道题一个要注意的地方

Posted by conanhjj at 2009-02-26 21:30:39 on Problem 1383
方法就如discuss里面nestle发的那个

Find the most distant node B away from an arbitrary node A.
Then find the most distant node C away from B.
The distance between C and B is the answer!

但是有一个要注意的。。就是B点可能有多个,对于每个B点,都要找对应的C点求距离~~

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator