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 |
俺不会 RMQ, 不过我想从根搜下去,记下每个结点的深度, 然后从两端向上搜,就可以了吧In Reply To:恩,我是用scanf跳的,总觉得输入没问题,是后面的问题,第一次写LCA->RMQ Posted by:firstacm at 2006-03-11 22:31:23 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator