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 |
优化逆序数计算后认为本题瓶颈不在逆序数上,另外请0MS的提供一下经验按照讨论上对逆序数计算做了优化后,执行时间仍然不变,用了16MS,故此题耗时主要在排序上,估计用时0MS的不是用O(n*n)的排序方法,而是O(nlgn)的。哪位耗时0MS的可以来贡献一下? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator