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 |
我就是这么做的,怎么WA呢In Reply To:Re:怎么用栈? Posted by:frkstyc at 2007-10-23 18:38:03 > aaaaaaaaaaaaaaaaaa#aaaaaaaaaaaaaaaaaa > 后缀数组肯定是 > #aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa > 然后栈里面的情况肯定是 > 1 2 3 4 5... > 统计的时候每次只需要加上栈顶元素相关的数量,于是O(n)... > Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator