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 |
开两个比n1大1,比n2大1的很小的数组,每读一个数据,将其添到数组的尾部,不断地对前几个和后几个进行排序就行,这样就不会Memory Exit,我是这样AC的In Reply To:Re:不用对所有数据都排序,否则会超时 Posted by:457 at 2009-03-03 16:46:03 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator