rope(可持久化平衡树)
声明
#include<ext/rope>
using namespace __gnu_cxx;
rope<int> a,text;
基本操作
string &append(const string &s,int pos,int n);//把字符串s中从pos开始的n个字符连接到当前字符串的结尾
或
a.append(b); //在末尾...
原创
2018-07-27 17:33:10 ·
409 阅读 ·
0 评论