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 |
这个改成O(n^3)也很容易的In Reply To:将N^4改进为N^3*logN算法. Posted by:intheway at 2009-11-17 21:08:53 用一个数组记录每一行处理到第几个位置了,然后每次移动一个指针就行了。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator