警钟长鸣!!!

· · 闲话

string s,t;
s=s+t[i];

这样的复杂度是 O(n+m)

string s,t;
s+=t[i]

这样复杂度是 O(1)