摘要: 思路很巧妙 class Solution { public: int getMaximumConsecutive(vector<int>& coins) { sort(coins.begin(),coins.end()); int x = 0; for(int y:coins) { if(y > x 阅读全文
posted @ 2023-02-04 15:59 小超不挑食 阅读(14) 评论(0) 推荐(0) 编辑