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

这个题目不就是先建最少生成树,然后去掉最长的s-1条边,再在树上找最长的边吗?

Posted by fangyixiang at 2008-08-13 09:02:01 on Problem 2349
这个题目不就是先建最少生成树,然后去掉最长的s-1条边,再在树上找最长的边吗?应该是这样的,为什么WA了?真是搞不懂啊
大牛们,有空指点一下!多谢!

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