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的时候注意,判负环cnt[v]>N而不是>=...就这样WA了3次...

Posted by 1120101093 at 2012-04-07 20:20:42 on Problem 1364
In Reply To:第一道差分-用SPFA的时候注意,判负环cnt[v]>N而不是>=...就这样WA了3次... Posted by:masque at 2009-07-17 12:18:27
> RT....
> http://www.cnblogs.com/pandy/archive/2009/05/02/1447643.html
我更悲剧 按照教程上写的 已经在队列中的元素不予入队
然后判断负环, >n 是错的 改成 >n+1 就对了???!!!...

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