摘要: 排序 std::sort函数 #include<bits/stdc++.h> using namespace std; bool cmp(int a,int b){ //重写比较规则,默认小于运算符定序 return a>b; } int main(){ int b[30]; sort(b,b+30 阅读全文
posted @ 2021-08-06 23:43 wenny-kiki 阅读(315) 评论(3) 推荐(0)