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 |
一点感想我采用的是qsort+线段树 通过排序把问题转化成区间覆盖, 而线段树正好解决这一问题 开始采用的是动态分配内存,tle了, 后来改成静态, 300ms通过, 不过数组开到了3M, 内存用去了30M Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator