A wise man changes his mind sometimes, but a fool never. To change your mind is the best evidence you have one. ― Desmond Ford
string(SPARAM)orstring.assign(SPARAM)orstring.append(SPARAM)orstring.replace(int p, int n, SPARAM)orstring.replace(iterator i0, iterator i1, SPARAM)orstring.insert(int pos, SPARAM). SPARAM includesconst char*sorconst char*s, int norconst string& torconst string& t, int pos, int norint n, char chorconst_iterator begin, const_iterator end- +sam suffix automation machine 后缀自动机学习小记 HDU4436
- +kruskal 最小生成树 Kruskal 和 Prim HDU1233 HDU4786
- +dinic 最大流 HDU3549
- +mcmf 最小费用最大流 HDU3667
- +hungary 匈牙利算法 HDU1054
- +tarjan 强联通图 HDU3622
- +union 并查集 HDU1865
- +segtree 线段树 POJ3468
- +fib 菲波拉契 HDU3117
- +bignum 大数 HDU1133
- +comb 枚举组合
- DP 动态规划总结 HDU2045 POJ1285
- 卡特兰数 HDU1131
- Polya定理 HDU3441
- 概率DP POJ2096