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

模板题才不要TLE(,,• ₃ •,,)

Posted by 201458501102 at 2017-04-26 15:59:26 on Problem 3159
SPFA+邻接表
把STL的queue改成手写的一个数组;
把多余的初始化全部删掉;
计算src=1时的dis[n]……
1500MS险过……

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