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:buaahanjunwei at 2010-12-15 20:43:42 > 排序是为了方便进行贪心的查找,比如从X轴的左向右进行计算,那么首先有一个有序的点序列是方便的。 >必须的排序,否则就会WA,因为不按照顺序来可能会少解(即产生可以被合并的多余区间)。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator