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(NlogN),其实这题还有O(LogN)的方法,不过思维复杂度太高了,也说不清......In Reply To:希望有人能告诉我这个应该怎么搞? Posted by:js05 at 2005-05-18 10:33:48 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator