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 |
四年时间分别用五种算法ac了这道题,不能多说。。。算法1:快排qsort(m*n) 算法2:归并排序树,O(m*logn^3) 算法3:划分树,O(m*logn) 算法4:函数式线段树,O(m*logn) 算法5:离线分块后乱搞(莫队算法)+树状数组,O(m*sqrt(n)*logn) 未完待续。。。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator