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

注意重边

Posted by Timetraveller94 at 2018-01-25 18:41:07 on Problem 3259 and last updated at 2018-01-25 18:50:52
floyd第一次没注意到双向边的重边WA(但是用bellman-ford判断负环可以不考虑重边)
第二次TLE
使用自己写的min和在三重循环中一旦出现负环马上break可以勉强AC
但是时间复杂度应该是太大的

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