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 wa的同学注意,dis数组初始化为0

Posted by threedonkey at 2012-02-14 21:30:59 on Problem 1860
In Reply To:用SPFA wa的同学注意,dis数组初始化为0 Posted by:threedonkey at 2012-02-14 21:29:50
初始化为-INF后,由于负数乘小数(小于一)会不断变大, 也会形成正环

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