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)了,难道可以O(1)时间维护?In Reply To:难道这题有比nlogn更快的算法?同样是nlogn,不会我的TLE,几十ms吧。。。 Posted by:js05 at 2005-05-13 14:13:17 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator