Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
对于这道题一个要注意的地方方法就如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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator