| ||||||||||
| 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 | |||||||||
Re:O(1)时间就可以判断出来是降序还是升序In Reply To:非降序也属于有序吧。这样你的A[i]-A[j]=i-j就没有什么意义了,因为可能有重复元素 Posted by:wywcgs at 2008-10-23 18:39:25 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator