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 moonancient at 2008-12-06 21:00:55
In Reply To:Re:成都赛区的B题,黄教主和我想到现在脑袋都想爆了,请教各位大大怎么弄的? Posted by:blue_mary at 2008-12-06 18:17:54
> 把树看做dfs序列,然后用splay维护就行了吧...

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