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:反复调用比较函数会消耗很多时间的,把比较写在快排函数体内会快很多In Reply To:Re:反复调用比较函数会消耗很多时间的,把比较写在快排函数体内会快很多 Posted by:kicc at 2004-10-19 21:04:25 你指得是 *(pre->pos)).compare(*pStr)<0 && (*(p->pos)).compare(*pStr) > 0 ?? 什么叫做“快排函数体”? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator