摘要: class Solution { public: string removeKdigits(string num, int k) { int n=num.size(); string ans; int p=0; int c=n-k;//挑c个 for(int i=0;i<c;i++){ string 阅读全文
posted @ 2020-07-29 21:43 阿破 阅读(83) 评论(0) 推荐(0) 编辑
摘要: class Solution { public: vector<vector<int>> groupThePeople(vector<int>& gr) { vector<vector<int>>ans,ret; ans.resize(gr.size()+1); ans[gr[0]].push_ba 阅读全文
posted @ 2020-07-29 18:42 阿破 阅读(91) 评论(0) 推荐(0) 编辑