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 |
血的教训设x和y的公共祖先为z 从x往z走时 ans=max(ans,up[][])之外 还要ans=max(ans,当前这一段的最大值-走过的那些路的最小值) 这个值可能不会在up数组里 要切记 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator