Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:TLE~~In Reply To:TLE~~ Posted by:mostleg at 2006-07-28 11:03:08 > 我只建一次邻接表,在表中记录这样一个信息:该边在距离小于等于多少的时候存在。然后排序,这样在求强连通分量的时候,只需要考虑已有的边。 > 仍然TLE。。。还有什么好的优化方法? 二分答案? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator