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

肯定是要反向建图的,很容易构造出反例证明直接贪心是错的。另外,如果用邻接表可以不判重。顺便赞一下STL真好用!

Posted by Ruby931031 at 2012-09-24 22:00:08 on Problem 3687 and last updated at 2012-09-24 22:05:33
In Reply To:不需要逆向。。。尼玛只要判重就够了 Posted by:HermioneS at 2012-02-25 23:23:00


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