bool cmp(int a,int b)
{
return a>b;
}
sort(a,a+count1,cmp);
sort的C++降序用法
最新推荐文章于 2024-07-02 18:30:00 发布
bool cmp(int a,int b)
{
return a>b;
}
sort(a,a+count1,cmp);