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 |
这题SPFA和Dijk都能过,关键在于邻接表是怎么写的!若邻接表是用stl的list或vector,TLE没商量。 手写了一个邻接表,貌似SPFA比Dijk快些。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator