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 |
反复调用比较函数会消耗很多时间的,把比较写在快排函数体内会快很多In Reply To:Re:Time Limit,不知道如何改进,请高手指教! Posted by:kicc at 2004-10-19 20:24:54 > 还有,就是用c的IO > VC的中的qsort和stl库里的sort的实现效率都不高 > 可以自己写一个快排 > 不过好像qsort也可以过 > sort可能有点旋 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator