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:不同的归并求逆序,一个超时一个400MS.In Reply To:Re:不同的归并求逆序,一个超时一个400MS. Posted by:sleepingpig at 2009-08-09 00:23:53 1. swap_cnt += j - m; ---> swap_cnt += m-i+1; 2. while (i >= 0) ---> while (i >= s) Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator