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 |
按score排序,,依次向下枚举中位数,在中位数上下两段各找出[n/2]个aid加起来最小的。。就用堆吧。。STL表现不错。185msIn Reply To:Re:第一次用堆......代码好长......写的手都酸了................ Posted by:y07yangruilong at 2007-08-23 18:42:35 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator