spoj MSTS kruskal +生成树
spoj MSTS kruskal +生成树...
spoj MSTS kruskal +生成树...
spoj CCOST . Usage of a 2 dimensional fenwick tree.Querying (log(n)^2) a 2 dimensional matrix for sub sum and updating a cell in O(logn)...
spoj k-query. Given lots of offline queries and updates, reoder the queries and updates so that they maybe efficiently preprocessed....
spoj dtree. Count the number of distinct elements in a given range. Usage is done using fenwick trees. Offline algorithm for queries...
spoj705 后缀数组 里面有后缀数组的模板 在spoj上提交正确...