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 |
写了一个nlogn的算法,效果不是很理想。In Reply To:这题好象有个O(n*log(n))算法 Posted by:pladene at 2003-07-31 17:36:33 > rt http://hi.baidu.com/findthegateopen/blog/item/d4852428c24990f698250a04.html 方法是根据此题的特殊性,压栈,二分查找。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator