网站首页 站内搜索

搜索结果

查询Tags标签: cnt2,共有 17条记录
  • leetcode443. 压缩字符串

    题目:443. 压缩字符串 class Solution { public:int compress(vector<char>& chars) {int i = 0;while(i < chars.size()){char c = chars[i];// int cnt1 = count(chars.begin(), chars.end(), c); // 统计个数int cnt1 = 1;for(int j=i+1; j<chars.siz…

    2021/8/1 23:36:05 人评论 次浏览
  • leetcode443. 压缩字符串

    题目:443. 压缩字符串 class Solution { public:int compress(vector<char>& chars) {int i = 0;while(i < chars.size()){char c = chars[i];// int cnt1 = count(chars.begin(), chars.end(), c); // 统计个数int cnt1 = 1;for(int j=i+1; j<chars.siz…

    2021/8/1 23:36:05 人评论 次浏览
共17记录«上一页12下一页»
扫一扫关注最新编程教程