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:TLE~~

Posted by a142857a at 2011-12-23 13:21:26 on Problem 2749
In Reply To:TLE~~ Posted by:mostleg at 2006-07-28 11:03:08
> 我只建一次邻接表,在表中记录这样一个信息:该边在距离小于等于多少的时候存在。然后排序,这样在求强连通分量的时候,只需要考虑已有的边。
> 仍然TLE。。。还有什么好的优化方法?
二分答案?

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