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;
相關文章
相關標籤/搜索