Leetcode——面试题 01.06. 字符串压缩

class Solution { public: string compressString(string S) { int lengthpre=S.length(); int temp=0; string restr=""; // S=S+S[lengthpre-1]; string temps;
相关文章
相关标签/搜索