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

这题……我单用Tarjan算法居然可以过

Posted by zj_ja at 2011-05-14 18:26:34 on Problem 3694
本来以为有并查集和LCA。
结果写了这两个是RE的。
最后去掉了这两个优化,该用LCA的地方用1(根)代替了。
没想到居然能AC,还是比较快的(344MS)……

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