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

Re:我用SPFA居然wrong answer!

Posted by Vidic15 at 2009-11-20 00:15:08 on Problem 2983
In Reply To:我用SPFA居然wrong answer! Posted by:heliwen at 2009-07-30 10:50:25
加超级源点0,使0到所有顶点的权值为0,进栈或队列时先进0点!因为此题有孤立的点

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