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

俺不会 RMQ, 不过我想从根搜下去,记下每个结点的深度, 然后从两端向上搜,就可以了吧

Posted by sunmoonstar at 2006-03-11 22:35:02 on Problem 1470
In Reply To:恩,我是用scanf跳的,总觉得输入没问题,是后面的问题,第一次写LCA->RMQ Posted by:firstacm at 2006-03-11 22:31:23


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