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:用快排居然出错,用冒泡一下就AC了,终于AC这道题!! Posted by:ecjtubaowp at 2007-02-06 17:39:43 具体来说,就是 Irreflexivity x < x must be false. Antisymmetry x < y implies !(y < x) [2] Transitivity x < y and y < z implies x < z [3] 以上摘自SGI STL Guide里的一段 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator